Ver Mensaje Individual
  #4 (permalink)  
Antiguo 06/05/2005, 11:29
Cluster
O_O
 
Fecha de Ingreso: enero-2002
Ubicación: Santiago - Chile
Mensajes: 34.417
Antigüedad: 22 años, 3 meses
Puntos: 129
Cita:
Iniciado por aRTeX
todos me mandan la misma direccion,

pero quiero algo mas concreto,

Y que es "algo más concreto"?

Has visto los ejemplos que tiene cada función descrita ahí? .. y comentarios de los usuarios con más ejemplos:

http://www.php.net/manual/en/function.ifx-fetch-row.php

Cita:
dorn at bakcommunications dot com
26-Apr-2003 11:56
Simple example of fetching rows for data results:

Código PHP:
<html>
<?php
$database 
"xxx";
$host "yyy";
$user "username";
$pass "password";
if (!
$connect_id ifx_connect("$database@$host"$user$pass)) {
   echo 
"Unable to connect to Informix Database\n";
   exit();
}
$sql "select customer, quantity from order";
$result ifx_query($sql$connect_id) or die ("couldn't execute the query"); 
?>
<table>
<tr>
<?php
   
while ($row ifx_fetch_row($result)) {    
   echo 
"<td>".$row['customer']."</td>";
   echo 
"<td>".$row['quantity']."</td>\n";
   }
ifx_free_result($result);
ifx_close($connect_id);
?>
</tr>
</table>
</html>
Un saludo,