mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
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:
parent
a8465af3f8
commit
90d222fe12
1 changed files with 8 additions and 2 deletions
|
@ -194,6 +194,12 @@ class sql_db
|
|||
if($query_id)
|
||||
{
|
||||
$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];
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue