custom errors

From: Date: Fri, 16 Nov 2001 08:34:52 +0000
Subject: custom errors
Groups: php.general 
Request: Send a blank email to php-general+get-74838@lists.php.net to get a copy of this message
Hi, I know how to make an error message when the connection is lost with the database, with the @ and the OR DIE in the connection with the database. Is there also a way to display a custom error message when this error is displaid? "Warning: Supplied argument is not a valid MySQL result resource in /opt/guide/www.domain.nl/HTML/inc/menu.php on line 34" Thanks, Sjoerd ________________________________________ Sjoerd van Oosten Digitaal vormgever svoosten@esites.nl Datamex E-sites B.V. http://www.esites.nl Minervum 7368 Telefoon: (076) 5 730 730 4817 ZH BREDA Telefax: (076) 5 877 757 _______________________________________

« previous php.general (#74838) next »