note 44168 added to function.mysql-error
| From: | "aleczapka_at\)gmxdotnet" at rn2 dot php dot net | Date: | Fri, 16 Jul 2004 14:05:29 +0000 |
| Subject: | note 44168 added to function.mysql-error | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-73388@lists.php.net to get a copy of this message | ||
If you want to display errors like "Access denied...", when mysql_error() returns
"" and mysql_errno() returns 0, use $php_errormsg. This Warning will be stored there.
You need to have track_errors set to true in your php.ini.
Note. There is a bug in either documentation about error_reporting() or in mysql_error() function
cause manual for mysql_error(), says: "Errors coming back from the MySQL database backend no
longer issue warnings." Which is not true.
----
Manual Page -- http://www.php.net/manual/en/function.mysql-error.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44168
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44168&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44168&report=yes
Search -- http://master.php.net/manage/user-notes.php