PHP Manual
Prev |  | Next

# ifx_do

(3.0.4 - 3.0.18 only, PHP 4 >= 4.0.0)

ifx_do -- Execute a previously prepared SQL-statement

## Description

``int ifx_do` (int result_id)`

Returns `TRUE` on success, `FALSE` on error.

Executes a previously prepared query or opens a cursor for it.

Does NOT free `result_id` on error.

Also sets the real number of ifx_affected_rows() for non-select statements for retrieval by ifx_affected_rows()

See also: ifx_prepare(). There is a example.

Prev | Home | Next
ifx_prepare | Up | ifx_error