I use this. and it works, except when retrieiving a CHAR([0-9]) field
$db = \"(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.1)(PORT = 1521))(CONNECT_DATA = (SID=fmep)))\";
$c1 = ocilogon(\"login\", \"pw\", $db);
$stmt = ociparse($c1, \"select ACT_TOT from ROOT.AE_P_PRO_E\");
ociexecute($stmt, OCI_DEFAULT);
echo $c1.\"----selecting\\n\\n\";
while (ocifetch($stmt))
print ociresult($stmt,\"ACT_TOT\").\"\\n\";