Re: [PHP-DB] DB dont_die and errors

2005-05-28 Thread Alessandro Pasotti
Il 23:15, venerdì 27 maggio 2005, Bastien Koert ha scritto: > You should be able to comment out the error message portions that you don't > want to display > I'm not sure I understand you, are you suggesting to modify DB.php code to change the way it process error messages? If yes, I don't belie

RE: [PHP-DB] DB dont_die and errors

2005-05-27 Thread Bastien Koert
You should be able to comment out the error message portions that you don't want to display bastien From: Alessandro Pasotti <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] DB dont_die and errors Date: Thu, 26 May 2005 18:58:07 +0200 Hi

[PHP-DB] DB dont_die and errors

2005-05-27 Thread Alessandro Pasotti
Hi all, When the connection fails, the default behaviour is to die, printing also the dns, with user and password!!! How can I avoid this? When I set dont_die, it goes on but the script stops later with a fatal error (since DB is not initialized). Does anybody knows a graceful way to handle c