|
mysqli::$errormysqli_errorReturns a string description of the last error DescriptionObject-oriented style string$mysqli->error;
Procedural style
string mysqli_error(mysqli
$mysql)Returns the last error message for the most recent MySQLi function call that can succeed or fail. Parameters
Return ValuesA string that describes the error. An empty string if no error occurred. ExamplesExample #1 $mysqli->error example Object-oriented style Procedural style The above examples will output: Error message: Unknown system variable 'a' See Also
|