Re: Catch Errors
| From: | Leif K-Brooks | Date: | Sun, 30 Mar 2003 18:21:42 +0000 |
| Subject: | Re: Catch Errors | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-26725@lists.php.net to get a copy of this message | ||
www.php.net/mysql-error
shaun wrote:
Hi, Is it possible to catch the type of error message returned form a mysql_query(); funtion for example if ($error == //duplicate row for table) { echo "This row already exists in the table"; }-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.