note 83846 deleted from function.mysql-pconnect by felipe

From: Date: Sun, 15 Jun 2008 11:39:41 +0000
Subject: note 83846 deleted from function.mysql-pconnect by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-140457@lists.php.net to get a copy of this message
Note Submitter: alveuz at example dot com ---- Which should be the right way for handling a warning message when trying to connect and the user/ password isn't an user registered? I don't like the idea of suppressing and dont like the idea of "or die ("establishing connection failed");". I tried to handle the warning (try {} catch (Exception $e){}) but yet cannot manage the Warning. Thanks in advance

« previous php.notes (#140457) next »