search for in the  
<ifx_create_charifx_error>
Last updated: Thu, 19 May 2005

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 )

Returns TRUE on success or FALSE on failure.

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



User Contributed Notes
ifx_do
icespawn11882 at hotmail dot com
04-Mar-2005 10: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: Thu, 19 May 2005
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: The Server Pages
Last updated: Thu May 19 17:35:34 2005 CDT