maxdb_errno -- maxdb->errno — Returns the error code for the most recent function call
Description
Procedural style:
intmaxdb_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.
Return Values
An error code value for the last call, if it failed. zero means no error occurred.
Examples
Example #1 Object oriented style
<?php $maxdb = new maxdb("localhost", "MONA", "RED", "DEMODB");