note 64326 added to function.mysqli-connect-errno

From: Date: Wed, 12 Apr 2006 12:07:26 +0000
Subject: note 64326 added to function.mysqli-connect-errno
Groups: php.notes 
Request: Send a blank email to php-notes+get-107858@lists.php.net to get a copy of this message
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. ---- Server IP: 66.163.161.117 Probable Submitter: 203.216.96.132 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.mysqli-connect-errno.php Edit -- http://master.php.net/note/edit/64326 Del: integrated -- http://master.php.net/note/delete/64326/integrated Del: useless -- http://master.php.net/note/delete/64326/useless Del: bad code -- http://master.php.net/note/delete/64326/bad+code Del: spam -- http://master.php.net/note/delete/64326/spam Del: non-english -- http://master.php.net/note/delete/64326/non-english Del: in docs -- http://master.php.net/note/delete/64326/in+docs Del: other reasons-- http://master.php.net/note/delete/64326 Reject -- http://master.php.net/note/reject/64326 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#107858) next »