Manuál PHP | ||
---|---|---|
PÅ™edcházejÃcà | Dalšà |
maxdb_errno
(PECL)
maxdb_errno(no version information, might be only in CVS)
maxdb->errno -- Returns the error code for the most recent function callDescription
Procedural style:
int maxdb_errno ( resource link )Object oriented style (property):
class 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.
Example
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 |