Return an error description from the last connection error, if any:
The mysqli_connect_error() function returns the error description from the last connection error, if any.
| Return Value: | Returns a string that describes the error. NULL if no error occurred |
|---|---|
| PHP Version: | 5+ |
PHP MySQLi Reference
Your message has been sent to W3Schools.