Over a million developers have joined DZone.

MySQL Error Reporting

·
MySQL error reporting


$result = mysql_query($query) or die("A fatal MySQL error occured.\n
Query: " . $query . "
\nError: (" . mysql_errno() . ") " . mysql_error());
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}