11111
maxdb_stmt_error
(PECL)maxdb_stmt_error
(no version information, might be only in CVS)maxdb_stmt->error -- Returns a string description for last statement error
Procedural style:string maxdb_stmt_error (resource stmt)
Object oriented style (property):class stmt {
string error
}
- For the statement specified by stmt, maxdb_stmt_error()
returns a containing the error message for the most recently invoked statement function that
can succeed or fail.
Пример 2. Procedural style
|
- The above examples would produce the following output:
Warning: maxdb_stmt_execute(): -4004 POS(23) Unknown table name:MYCITY [42000] <...> |
maxdb_stmt_errno
maxdb_stmt_execute 22222