use or die ("DB-server down"); at the end of you line.
"Gert Mellak" <[EMAIL PROTECTED]> wrote in message
> 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
> the error message.
> Does anyone have an idea how to manage this?
> I'd be grateful for any information!
> [EMAIL PROTECTED]
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php