|
maxdb_stmt_errnomaxdb_stmt::errnoReturns the error code for the most recent statement call DescriptionProcedural style
int maxdb_stmt_errno
( resource
$stmt
)Object oriented style int$maxdb_stmt->errno;
For the statement specified by stmt, maxdb_stmt_errno returns the error code for the most recently invoked statement function that can succeed or fail.
Return ValuesAn error code value. Zero means no error occurred. ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above example will output something similar to: Warning: maxdb_stmt_execute(): -4004 POS(23) Unknown table name:MYCITY [42000] <...> Error: -4004. See Also
|