RE: [PHP] mysql_errno codes
| From: | Jay Blanchard | Date: | Mon, 16 Jun 2003 16:59:40 +0000 |
| Subject: | RE: [PHP] mysql_errno codes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-151688@lists.php.net to get a copy of this message | ||
[snip]
[3rd try] ... where can i get mysql_error codes from? The ones that
mysql_errno returns.
[/snip]
If MySQL returns an error code (let's use 80 as an example) go to your
shell and type;
perror 80
You will get back a response...
Error code 80: Accessing a corrupted shared library
If you want to do this via PHP there is a fine example at
http://us3.php.net/manual/en/function.mysql-errno.php
HTH!
Jay