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?