(PECL ingres >= 2.0.0)
ingres_next_error — Get the next Ingres error
$link
= ?
) : bool
Get the next Ingres error for the last executed query. Each call to
ingres_next_error() can be followed by a call to
ingres_errno(), ingres_error()
or ingres_errsqlstate() to get the respective error
number, error text, or SQL STATE. While
ingres_next_error() returns true
, there are more errors
to fetch.
link
The connection link identifier
ingres_next_error() returns true
if there is another
error to retrieve or false
when there are no more errors