Re: MS-SQL Error Message Replacement

From: Date: Wed, 24 Jan 2001 19:43:50 +0000
Subject: Re: MS-SQL Error Message Replacement
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-6145@lists.php.net to get a copy of this message
ryan.sinn@usbank.com wrote:
How can I put in my own custom message when these errors occur? Should I be looking for a failed query message and then acting on that? I like the protection that the foreign key relationship enables, because you can't delete "parent" objects without removing the children first. Prepend "@" to the php function call to supress error messages. If your statement fails, you could get the error number via some other mssql call and decide what to do.
-Andreas -- Andreas Karajannis mediaworx berlin AG Fon (0 30) 2 75 80 - 266 Fax (0 30) 2 75 80 - 200

« previous php.db (#6145) next »