Re: Array property of object from Resource

2007-01-26 Thread phphelp -- kbk
On Jan 26, 2007, at 2:33 PM, Brent Baisley wrote: while ( $row = mysql_fetch_array($result,MYSQL_ASSOC) ) { $this->result_List[] = $row; } That produces an array like this: [0]=> [WHAM_ID]=>15, [NAME]=>Fred, [AMOUNT]=>99 That is getting me close to what I am looking for, I just wo

Re: Array property of object from Resource

2007-01-26 Thread phphelp -- kbk
oops, Sorry: I meant to post this to the PHP group. On Jan 26, 2007, at 2:06 PM, phphelp -- kbk wrote: Hello, folks -- lurking for a while, first post -- I'm relatively new to PHP but doing database design work for nearly 20 years. I've RTFM'ed (+ books + other resources) a bunch of times

Array property of object from Resource

2007-01-26 Thread phphelp -- kbk
Hello, folks -- lurking for a while, first post -- I'm relatively new to PHP but doing database design work for nearly 20 years. I've RTFM'ed (+ books + other resources) a bunch of times but I have a mental block around doing this: I want to have an multidimensional array as a property of