Never mind, I found that it is a difference in the DBO drivers.
On Jul 31, 4:36 pm, starkey <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm porting some code from one machine to another, one is PHP4/MySQL
> and the other PHP5/Oracle. When I run the below query I get two
> different array structures back (see below). I'm spending some time
> figuring out if it is PHP, Cake, or DBO driver differences. Has
> anyone run into this before? I'm on cake_1.1.16.5421. Thanks!!
>
> $ret = $this->query('select id from POLL_QUESTIONS');
> pr($ret);
>
> PHP4/MySQL gets:
> Array
> (
> [0] => Array
> (
> [POLL_QUESTIONS] => Array
> (
> [id] => 1
> )
>
> )
>
> }
>
> PHP5/Oracle gets:
> Array
> (
> [0] => Array
> (
> [0] => Array
> (
> [POLL_QUESTIONS] => 1
> )
>
> )
>
> )
>
> Thanks,
> Shawn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---