|
maxdb_stmt_errormaxdb_stmt::errorReturns a string description for last statement error DescriptionProcedural style
string maxdb_stmt_error
( resource
$stmt
)Object oriented style string$maxdb_stmt->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. Return ValuesA string that describes the error. An empty string if no error occurred. ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above example will output something similar to: Warning: maxdb_stmt_execute(): -4004 POS(23) Unknown table name:MYCITY [42000] <...> Error: POS(23) Unknown table name:MYCITY. See Also
|