|
PHP5中文手册
maxdb_stmt_errnomaxdb_stmt->errno(PECL maxdb:1.0-7.6.00.38) maxdb_stmt->errno — Returns the error code for the most recent statement call 说明Procedural style :
int maxdb_stmt_errno
( resource $stmt
)
Object oriented style (property): stmt
int$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.
返回值An error code value. Zero means no error occurred. 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php The above examples would produce the following output:
|