downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ifx_errormsg> <ifx_do
[edit] Last updated: Fri, 18 Sep 2009

view this page in

ifx_error

(PHP 4, PHP <=5.2.0)

ifx_errorReturns error code of last Informix call

Описание

string ifx_error ([ resource $link_identifier ] )

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.

Параметри

link_identifier

The link identifier.

Връщани стойности

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

Вж. също



add a note add a note User Contributed Notes ifx_error
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites