Ver Mensaje Individual
  #5 (permalink)  
Antiguo 08/05/2009, 09:53
guif
 
Fecha de Ingreso: julio-2005
Mensajes: 140
Antigüedad: 18 años, 8 meses
Puntos: 0
Respuesta: Duda sobre SQL (oracle)

si y teoricamente deberia de salir asi:


Código:
echo "entramos";

$query2 = "select database_status, status, instance_name, version from v$instance";
  $stmt = OCIParse($c, $query2); 
  oci_execute ($stmt);

 while ($row = oci_fetch_array ($stmt, OCI_BOTH)) {
    echo $row[0]." and ".$row['DATABASE_STATUS'];
    echo $row[1]." and ".$row['STATUS'];
    echo $row[2]." and ".$row['INSTANCE_NAME'];
    echo $row[3]." and ".$row['VERSION'];
}

echo "salimos";
Pero solo me aparece "entramos" y "salimos"

Porque no me aparecen los datos?