ifx_do

(PHP 3 >= 3.0.4, PHP 4, PHP 5)

ifx_do --  Execute a previously prepared SQL-statement

Description

int ifx_do ( int result_id )

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.

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().



ifx_do
icespawn11882 at hotmail dot com
04-Mar-2005 08:57
This is an example to use this function

$conn = fx_connect( "db", "user", "password" );
$result = ifx_prepare("SELECT customer_num, company FROM customer", $conn);
ifx_do($result);

ifx_prepare associate an int to the query; we use this int with ifx_do

Para Massimiliano

<ifx_create_charifx_error>
 Last updated: Tue, 15 Nov 2005