Return to Snippet

Revision: 1926
at November 24, 2006 12:47 by Shpigford


Updated Code
$result = mysql_query($query) or die("<b>A fatal MySQL error occured</b>.\n<br />Query: " . $query . "<br />\nError: (" . mysql_errno() . ") " . mysql_error());

Revision: 1925
at November 24, 2006 12:47 by Shpigford


Initial Code
$result = mysql_query($query) or die("<b>A fatal MySQL error occured</b>.\n<br />Query: " . $query . "<br />\nError: (" . mysql_errno() . ") " . mysql_error());

Initial URL

                                

Initial Description

                                

Initial Title
MySQL error reporting

Initial Tags
mysql, database, sql, php, error, code

Initial Language
SQL