note 64326 deleted from function.mysqli-connect-errno by bjori

From: Date: Wed, 12 Apr 2006 12:14:10 +0000
Subject: note 64326 deleted from function.mysqli-connect-errno by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-107867@lists.php.net to get a copy of this message
Note Submitter: Stephen Reason: bad code ---- There is apparently an undocumented object version of this, as follows: if ($this->connect_errno) { if ($ThrowExceptions) throw new Exception(mysqli_connect_error(), mysqli_connect_errno()); } I found this code in a wrapper class written by someone who pored through the source code.

« previous php.notes (#107867) next »