Trapping PHP Errors
| From: | Gary Ogilvie | Date: | Thu, 19 Jun 2003 09:13:39 +0000 |
| Subject: | Trapping PHP Errors | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152130@lists.php.net to get a copy of this message | ||
Hi everyone,
How do I trap a PHP error and display my own error message instead?
I have two PHP scripts - one that creates tables on MSSQL and one that
deletes tables on MSSQL. I wish to capture the message that appears if
the user attempts to create tables that already exist, or delete ones
that do not exist.
Thanks in advance
Gary