RE: [PHP-DB] Re: php-db Digest 5 Feb 2003 17:13:51 -0000 Issue 1661
| From: | John W. Holmes | Date: | Thu, 06 Feb 2003 00:51:12 +0000 |
| Subject: | RE: [PHP-DB] Re: php-db Digest 5 Feb 2003 17:13:51 -0000 Issue 1661 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25478@lists.php.net to get a copy of this message | ||
> I would like to know how to get error messages to
> appear if something goes wrong. Like if the mysql
> finds the database account but fails to update the
> table, finds the table but a unique entry is inputted
> so can't add. I'd like to be able, if possible, to
> customize the error message. Could someone please
> show me how to achieve this?
>
> At pressent it only produces an error if the database
> is not found. Nothing else!
www.php.net/set_error_handler
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/