Manuál PHP | ||
---|---|---|
Předcházející | Další |
(PECL)
maxdb_errno(no version information, might be only in CVS)
maxdb->errno -- Returns the error code for the most recent function callProcedural style:
int maxdb_errno ( resource link )Object oriented style (property):
class maxdb {
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.
Příklad 2. Procedural style
|
The above examples would produce the following output:
PHP Warning: maxdb_query(): -4005 POS(8) Unknown column name:XXX [42000] <...> Errorcode: -4005 |
Předcházející | Domů | Další |
maxdb_enable_rpl_parse | Nahoru | maxdb_error |