note 54620 deleted from function.msql-fetch-row by betz

From: Date: Sun, 10 Jul 2005 11:51:51 +0000
Subject: note 54620 deleted from function.msql-fetch-row by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-91730@lists.php.net to get a copy of this message
Note Submitter: Josh ---- You must use if ($result==false){ //error message or what ever } otherwise the error message never will be displayed, cause $result always exists in your case. You must check the value of $result. If the query dont work, msql_fetch_row returns FALSE. So your error handling doesn't work.

« previous php.notes (#91730) next »