OK...so I uncommented out
;extension=php_oci8.dll in php.ini
I seem to be able to connect. I've modified the code but I still have an error when just trying to return * from table???
The error is
Parse error: parse error, unexpected T_STRING in D:\php\test.php on line 10
The code is
<?php
$conn = ora_login("user","pwd","tnsentry") or die;
$curs = ora_open($conn);
ora_commitoff($conn);
$query = select * from table;
$result=get_query($conn,$query);
for($i=0;$result[$i];$i++){
echo $result[$i][column];
}
?>