|
(PECL)
maxdb_stmt_errno(no version information, might be only in CVS)
maxdb_stmt->errno -- Returns the error code for the most recent statement callProcedural style :
int maxdb_stmt_errno ( resource stmt )Object oriented style (property):
class stmt {For the statement specified by stmt, maxdb_stmt_errno() returns the error code for the most recently invoked statement function that can succeed or fail.
Note: For possible error codes see documentation of SQLDBC: http://dev.mysql.com/doc/maxdb/.
Example 2. Procedural style
|
The above examples would produce the following output:
Warning: maxdb_stmt_execute(): -4004 POS(23) Unknown table name:MYCITY [42000] <...> Error: -4004. |
Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 18:00:06