On Mon, Oct 20, 2003 at 05:28:08PM -0500, Joseph Bannon wrote: : : How do you print the error message sent back from MySQL? : : $resultCC = mysql_query($queryCC) or die("???");
Stop using stupid Perl syntax. $res = mysql_query($query); if ($res === false) { # print error to stdout # echo mysql_errno() . ": " . mysql_error(). "\n"; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php