|
PHP5中文手册
maxdb_errnomaxdb->errno(PECL maxdb:1.0-7.6.00.38) maxdb->errno — Returns the error code for the most recent function call 说明Procedural style:
int maxdb_errno
( resource $link
)
Object oriented style (property): maxdb
int$errno;
The maxdb_errno() function will return the last error code for the most recent MaxDB function call that can succeed or fail with respect to the database link defined by the link parameter. If no errors have occured, this function will return zero. 返回值An error code value for the last call, if it failed. zero means no error occurred. 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php The above examples would produce the following output:
|