error-catching

From: Date: Thu, 09 May 2002 14:00:02 +0000
Subject: error-catching
Groups: php.general 
Request: Send a blank email to php-general+get-96809@lists.php.net to get a copy of this message
Hi! When I open a database connection and i. e. the db-server is down, I get a very long, long error message telling me that the server is down. What I want to do is just echo a text, i. e. "DB-Server down" and leave out the error message. Does anyone have an idea how to manage this? I'd be grateful for any information! TIA, Gert. gert@mellak.com http://mellak.com

« previous php.general (#96809) next »