More work on the oracle DB abstraction class

git-svn-id: file:///svn/phpbb/trunk@101 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson 2001-03-16 07:19:05 +00:00
parent a8465af3f8
commit 90d222fe12

View file

@ -194,6 +194,12 @@ class sql_db
if($query_id) if($query_id)
{ {
$result = OCIFetchInto($query_id, &$this->row[$query_id], OCI_ASSOC); $result = OCIFetchInto($query_id, &$this->row[$query_id], OCI_ASSOC);
for($i = 0; $i < count($this->row[$query_id]); $i++)
{
list($key, $val) = each($this->row[$query_id]);
$return_arr[strtolower($key)] = $val;
}
$this->row[$query_id] = $return_arr;
return $this->row[$query_id]; return $this->row[$query_id];
} }
else else