Return an error code from the last connection error, if any:
The mysqli_connect_errno() function returns the error code from the last connection error, if any.
| Return Value: | Returns an error code value. Zero if no error occurred |
|---|---|
| PHP Version: | 5+ |
PHP MySQLi Reference
Your message has been sent to W3Schools.