Re: [PHP] Bizarre array create error

2007-07-31 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 select

Re: [PHP] Bizarre array create error

2007-07-31 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 */ /*

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

Re: [PHP] Bizarre array create error

2007-07-30 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

Re: [PHP] Bizarre array create error

2007-07-30 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,

[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

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

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

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