Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

About this user

Josh http://sabotagemedia.com

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

MySQL error reporting

MySQL error reporting

$result = mysql_query($query) or die("<b>A fatal MySQL error occured</b>.\n<br />Query: " . $query . "<br />\nError: (" . mysql_errno() . ") " . mysql_error());
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS