Home > PHP > Function > Informix > ifx_error()

ifx_error()

ifx_error - Returns error code of last Informix call

Syntax

string ifx_error (resource $link_identifier)

Arguments

  • link_identifier - The 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.

Version

PHP 4, <=5.2.0

Return value

The Informix error codes (SQLSTATE & SQLCODE) formatted as x [SQLSTATE = aa bbb SQLCODE=cccc].