PHP » GoLang |
login |
register |
about
|
maxdb_errnomaxdb::errno(PECL maxdb >= 1.0) maxdb_errno -- maxdb::errno — Returns the error code for the most recent function call DescriptionProcedural style
int maxdb_errno
( resource
$link
)Object oriented style int $maxdb->errno;
The maxdb_errno() function will return the last error code for
the most recent MaxDB function call that can succeed or fail with respect to the
database link defined by the Return ValuesAn error code value for the last call, if it failed. zero means no error occurred. ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above example will output something similar to: PHP Warning: maxdb_query(): -4005 POS(8) Unknown column name:XXX [42000] <...> Errorcode: -4005 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|