|
mysqli_stmt::$errormysqli_stmt_errorReturns a string description for last statement error DescriptionObject-oriented style string$mysqli_stmt->error;
Procedural style
string mysqli_stmt_error(mysqli_stmt
$statement )Returns a string containing the error message for the most recently invoked statement function that can succeed or fail. Parameters
Return ValuesA string that describes the error. An empty string if no error occurred. ExamplesExample #1 Object-oriented style
Example #2 Procedural style
The above examples will output: Error: Table 'world.myCountry' doesn't exist. See Also
|