Re: [PHP] Bizarre array create error

2007-07-31 Thread Ken Tozier
On Jul 31, 2007, at 2:00 AM, Richard Lynch wrote: On Sun, July 29, 2007 5:49 pm, Ken Tozier wrote: I'm trying to assign two fields of an object returned from a MySQL query and have stumbled upon the most bizarre PHP bug where I can't create two arrays in succession. Here's the MySQL query wit

Re: [PHP] Bizarre array create error

2007-07-30 Thread Tom Ray [Lists]
Paul Novitski wrote: At 7/29/2007 09:59 PM, Ken Tozier wrote: /*--*/ /* Next two lines are where the problem starts */ /* If I comment either of them out the script runs */ /* but

Re: [PHP] Bizarre array create error

2007-07-30 Thread Richard Lynch
On Sun, July 29, 2007 5:49 pm, Ken Tozier wrote: > I'm trying to assign two fields of an object returned from a MySQL > query and have stumbled upon the most bizarre PHP bug where I can't > create two arrays in succession. > > Here's the MySQL query with two dummy fields to be filled in later > > s

Re: [PHP] Bizarre array create error

2007-07-29 Thread Ken Tozier
On Jul 30, 2007, at 2:23 AM, Paul Novitski wrote: At 7/29/2007 09:59 PM, Ken Tozier wrote: /*--*/ /* Next two lines are where the problem starts */ /* If I comment either of them out the script run

Re: [PHP] Bizarre array create error

2007-07-29 Thread Paul Novitski
At 7/29/2007 09:59 PM, Ken Tozier wrote: /*--*/ /* Next two lines are where the problem starts */ /* If I comment either of them out the script runs */ /* but with both uncommented, i

Re: [PHP] Bizarre array create error

2007-07-29 Thread Ken Tozier
On Jul 30, 2007, at 12:05 AM, Tom Ray [Lists] wrote: Ken Tozier wrote: Hi I'm trying to assign two fields of an object returned from a MySQL query and have stumbled upon the most bizarre PHP bug where I can't create two arrays in succession. Here's the MySQL query with two dummy fields

Re: [PHP] Bizarre array create error

2007-07-29 Thread Tom Ray [Lists]
Ken Tozier wrote: Hi I'm trying to assign two fields of an object returned from a MySQL query and have stumbled upon the most bizarre PHP bug where I can't create two arrays in succession. Here's the MySQL query with two dummy fields to be filled in later select *, 0 as dummy_1, 0 as dummy_

Re: [PHP] Bizarre array create error

2007-07-29 Thread Ken Tozier
On Jul 29, 2007, at 6:49 PM, Ken Tozier wrote: Hi I'm trying to assign two fields of an object returned from a MySQL query and have stumbled upon the most bizarre PHP bug where I can't create two arrays in succession. Here's the MySQL query with two dummy fields to be filled in later se

[PHP] Bizarre array create error

2007-07-29 Thread Ken Tozier
Hi I'm trying to assign two fields of an object returned from a MySQL query and have stumbled upon the most bizarre PHP bug where I can't create two arrays in succession. Here's the MySQL query with two dummy fields to be filled in later select *, 0 as dummy_1, 0 as dummy_2 from table Her