PHP » GoLang |
login |
register |
about
|
GoLang maxdb_stmt_errno
request it (422)
GoLang replacement for PHP's maxdb_stmt_errno
[edit | history]
maxdb_stmt_errnomaxdb_stmt::errno(PECL maxdb >= 1.0) maxdb_stmt_errno -- maxdb_stmt::errno — Returns the error code for the most recent statement call DescriptionProcedural style
int maxdb_stmt_errno
( resource
$stmt
)Object oriented style int $maxdb_stmt->errno;
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.
Return ValuesAn error code value. Zero means 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: -4004. See Also
|
more
Recently updated
more
Most requested
more
Last requests
|