Posted By

Shpigford on 11/24/06


Tagged

mysql database sql php error code report


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

eunjoo1984
vali29
mh5777


MySQL error reporting


 / Published in: SQL
 

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

Report this snippet  

You need to login to post a comment.