Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1

[email protected] (Chris)
Newsgroups php.db
Message-ID <[email protected]>
Fred Silsbee wrote:

>     while ($newArray = oci_fetch_assoc($result)) {
>         foreach ($fields as $field){              
>             ${$field} = $newArray[$field];        // values not making it into variable
>              
>         }                                         

print_r($newArray);

what is here?

Oracle uppercases all fields, tablenames by default (per sql spec).

-- 
Postgresql & php tutorials
http://www.designmagick.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.