note 115857 added to function.mysqli-connect
| From: | nick at little-apps dot com | Date: | Sat, 04 Oct 2014 02:57:10 +0000 |
| Subject: | note 115857 added to function.mysqli-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-200584@lists.php.net to get a copy of this message | ||
If you use mysqli_connect() and it fails to connect, it will return false and will not be a MySQLi
object. Therefore, you will need to use the functions mysqli_connect_error() and/or
mysqli_connect_errno() to get the error information.
----
Server IP: 72.52.91.14
Probable Submitter: 75.159.59.116
----
Manual Page -- http://php.net/manual/en/function.mysqli-connect.php
Edit -- https://master.php.net/note/edit/115857
Del: integrated -- https://master.php.net/note/delete/115857/integrated
Del: useless -- https://master.php.net/note/delete/115857/useless
Del: bad code -- https://master.php.net/note/delete/115857/bad+code
Del: spam -- https://master.php.net/note/delete/115857/spam
Del: non-english -- https://master.php.net/note/delete/115857/non-english
Del: in docs -- https://master.php.net/note/delete/115857/in+docs
Del: other reasons-- https://master.php.net/note/delete/115857
Reject -- https://master.php.net/note/reject/115857
Search -- https://master.php.net/manage/user-notes.php