[snip] 2. Trap MySQL errors for the query by doing something like this; if(!($result = mysql_query($query, ))){ print("MySQL reports: " . mysql_error . "\n"); exit(); } [/snip]
TYPO!!! :^] Should be mysql_error() (note the parentheses) HTH! Jay ***************************************************** * Texas PHP Developers Conf Spring 2003 * * T Bar M Resort & Conference Center * * New Braunfels, Texas * * Contact [EMAIL PROTECTED] * * * * Want to present a paper or workshop? Contact now! * ***************************************************** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php