i'am working on solaris 2.6 ,Oracle 8.1.7,apache1.3.22+php4.1.2.
Oci8 version :1.149.2.2
OCIFetchInto seem don't work .This function return row fetched
function DBFetchRow($stmt)
{
$cols = OCIFetchInto($stmt, &$data, OCI_NUM );
if (!$cols) {
return false;
};
for($i=1;$i<=$cols;$i++) {
$name1=strtoupper(OCIColumnName ($stmt, $i));
$name2=strtolower($name1);
$col=$data[$i-1];
$row[$i-1]=$col;
$row["$name1"]=$col;
$row["$name2"]=$col;
};
$righe=count($data[0]);
return $row;
}
if I have a table with four rows ,when i fetch the last row OCIFetchInto not return nothing.it block execution.
Can be a driver problem?
He work on linux.
I don't understand .
Helpl