Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

MySQL Error Reporting

DZone's Guide to

MySQL Error Reporting

·
Free Resource
MySQL error reporting


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

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}