[EMAIL PROTECTED] 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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]