|
PHP5中文手册
maxdb_stmt_errormaxdb_stmt->error(PECL maxdb:1.0-7.6.00.38) maxdb_stmt->error — Returns a string description for last statement error 说明Procedural style:
string maxdb_stmt_error
( resource $stmt
)
Object oriented style (property): stmt
string$error;
For the statement specified by stmt, maxdb_stmt_error() returns a containing the error message for the most recently invoked statement function that can succeed or fail. 返回值A string that describes the error. An empty string if no error occurred. 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php The above examples would produce the following output:
|