|
mysqli::$connect_errormysqli_connect_errorReturns a description of the last connection error DescriptionObject-oriented style stringnull$mysqli->connect_error;
Procedural style
stringnull mysqli_connect_error()
Returns the error message from the last connection attempt. ParametersThis function has no parameters. Return Values
A string that describes the error. Returns the last connection error regardless of the instance on which it is called. ExamplesExample #1 $mysqli->connect_error example Object-oriented style
Procedural style
See Also
|