Re: Trapping PHP Errors

From: Date: Thu, 19 Jun 2003 13:15:25 +0000
Subject: Re: Trapping PHP Errors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152153@lists.php.net to get a copy of this message
> 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. http://us2.php.net/manual/en/function.set-error-handler.php ---John Holmes...

« previous php.general (#152153) next »