note 34696 added to function.msql-error

From: Date: Mon, 04 Aug 2003 11:55:11 +0000
Subject: note 34696 added to function.msql-error
Groups: php.notes 
Request: Send a blank email to php-notes+get-53316@lists.php.net to get a copy of this message
I found that the best way to debug a page with multiple queries to a Database was to add an 'or die("something".mysql_error())' to the end of queries where something is a little note that is printed along with the error to identify which query along with the actual error. ---- Manual Page -- http://www.php.net/manual/en/function.msql-error.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34696 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34696&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34696&report=yes

« previous php.notes (#53316) next »