PHP » GoLang |
login |
register |
about
|
GoLang maxdb_stmt_error
request it (408)
GoLang replacement for PHP's maxdb_stmt_error
[edit | history]
maxdb_stmt_errormaxdb_stmt::error(PECL maxdb >= 1.0) maxdb_stmt_error -- maxdb_stmt::error — Returns 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
|
more
Recently updated
more
Most requested
more
Last requests
|