FBIRD_ERRMSG
Purpose
Use the fbird_errmsg function to retrieve the
error message of the last error that occurred, if any.
Syntax
<errmsg> ::= fbird_errmsg()
Element
|
Type
|
Description
|
<return>
|
mixed
|
Error string if available, False otherwise
|
Semantics
The fbird_errmsg function returns a descriptive
text for the last error that occurred. It returns False if the last
operation was succesful.
Example
The below example prints the last error message if
there was an error:
$err = fbird_errmsg(); if( $err==False
) { echo 'No error occurred'; } else
{ echo 'Error was: '.$err; }
See also
fbird_errcode
|