RE: [PHP-DB] Warnings and Error messages
| From: | Russ | Date: | Wed, 17 Jul 2002 10:13:41 +0000 |
| Subject: | RE: [PHP-DB] Warnings and Error messages | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-20595@lists.php.net to get a copy of this message | ||
Stick a '@' in front of the function/statement generating the error:
@unlink("$filname"); for example...
Russ
-----Original Message-----
From: Gabor Niederlaender [mailto:gabor.niederlaender@wu-wien.ac.at]
Sent: Wednesday, July 17, 2002 5:54 PM
To: php-db@lists.php.net
Subject: [PHP-DB] Warnings and Error messages
Hi all!
How can I prevent the warnings end errors to be written on the screen?
I would like to prevent the warnings end errors to be written on the
screen because I want to handle the errors with the odbc_errormsg()
function.
How do I do that?
Is there a better way?
Best regards,
Gabor
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php