|
mysqli_stmt::$errnomysqli_stmt_errnoReturns the error code for the most recent statement call DescriptionObject-oriented style int$mysqli_stmt->errno;
Procedural style
int mysqli_stmt_errno(mysqli_stmt
$statement)Returns the error code for the most recently invoked statement function that can succeed or fail. Parameters
Return ValuesAn error code value. Zero means no error occurred. ExamplesExample #1 Object-oriented style Example #2 Procedural style The above examples will output: Error: 1146. See Also
|