PHP mysqli_connect_errno() Function
Example
Return the error code of the last connection error:
Definition and Usage
The mysqli_connect_errno() function returns the error code of the last connection error.
Syntax
mysqli_connect_errno()
;
Technical Details
| Return Value: | Returns the error code value, or 0 if no error occurred. |
|---|---|
| PHP Version: | 5+ |
PHP MySQLi Reference Manual