PHP mysqli_connect_error() Function
Example
Return the error description of the last connection error:
Definition and Usage
The mysqli_connect_error() function returns the error description of the last connection error.
Syntax
mysqli_connect_error()
;
Technical Details
| Return Value: | Returns a string describing the error, or NULL if no error occurred. |
|---|---|
| PHP Version: | 5+ |
PHP MySQLi Reference Manual