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