Catch Errors
| From: | shaun | Date: | Sun, 30 Mar 2003 17:25:52 +0000 |
| Subject: | Catch Errors | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-26723@lists.php.net to get a copy of this message | ||
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";
}