note 115857 deleted from function.mysqli-connect by cmb
| From: | cmb@php.net | Date: | Thu, 20 Aug 2015 00:45:18 +0000 |
| Subject: | note 115857 deleted from function.mysqli-connect by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-203397@lists.php.net to get a copy of this message | ||
Note Submitter: nick at little-apps dot com
----
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.