IFX_ERROR(3) 1 IFX_ERROR(3)
ifx_error - Returns error code of last Informix call
SYNOPSIS
string ifx_error ([resource $link_identifier])
DESCRIPTION
Returns in a string one character describing the general results of a statement and both SQLSTATE and SQLCODE associated with the most
recent SQL statement executed.
PARAMETERS
o $link_identifier
- The link identifier.
RETURN VALUES
The Informix error codes (SQLSTATE & SQLCODE) formatted as x [SQLSTATE = aa bbb SQLCODE=cccc].
where x = space : no error
E : error
N : no more data
W : warning
? : undefined
If the "x" character is anything other than space, SQLSTATE and SQLCODE describe the error in more detail.
See the Informix manual for the description of SQLSTATE and SQLCODE
SEE ALSO
ifx_errormsg(3).
PHP Documentation Group IFX_ERROR(3)