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

From: Date: Mon, 24 Nov 2008 06:41:05 +0000
Subject: Re: works under mysql 5 but not under Oracle 11g1
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-45702@lists.php.net to get a copy of this message
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/

« previous php.db (#45702) next »