Re: works under mysql 5 but not under Oracle 11g1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux