I tried that, but there is no error to stop the script at this point. The script continues past this point and to the end of the script - there are just no values in the variables for the second query, which obviously gives me the wrong results.
-----Original Message----- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: July 16, 2003 1:18 PM To: Beauford.2005 Cc: PHP Subject: Re: [PHP] MySQL query problems Change $email_error to $mysqlerror and hopefully some error message will appear. Beauford.2005 wrote: > if ($mysqlerror) { > $error = "$d_base_error$email_error"; > include("trades-input.php"); > exit; > } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php