|
mysqli::$errormysqli_errorReturns a string description of the last error DescriptionObject oriented style string$mysqli->error;
Procedural style
string mysqli_error
( mysqli
$link
)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
<?php Procedural style
<?php The above examples will output: Errormessage: Unknown system variable 'a' See Also
|