note 42250 added to function.mysqli-connect-error
| From: | bero at arklinux dot org dot SPAM dot TO dot microsoft dot com | Date: | Sun, 09 May 2004 18:04:56 +0000 |
| Subject: | note 42250 added to function.mysqli-connect-error | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-69384@lists.php.net to get a copy of this message | ||
The reason for mysqli_connect_error() not being available as $link->connect_error [looks like an
inconsistency superficially] is that at the time mysqli_connect_error() matters (when something goes
wrong), $link is null, and therefore not a mysqli object ---> you'd be accessing
NULL->connect_error, which can't make any sense.
----
Manual Page -- http://www.php.net/manual/en/function.mysqli-connect-error.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42250
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42250&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42250&report=yes
Search -- http://master.php.net/manage/user-notes.php