RE: [PHP] PHP & smarty - nested queries and arrays

2005-08-12 Thread Daevid Vincent
First I'll appologize for the cheuvanistic remark the other poster had. I know he had good intentions... So I don't know smarty, but it seems to me you're grabbing only one row here: $projects = $db->getAssoc() Normally in straight PHP, I would do something like. While ($row = $db->getAssoc($que

[PHP] Tip for 'New People'/Beginners/Noobs [was] Re: [PHP] PHP & smarty - nested queries and arrays

2005-08-11 Thread Jochem Maas
Amanda Hemmerich wrote: What is cross posting? when you post the same question to more than one mailing list (especially when done at the same time). alot of the people who regularly read/post on php-generals also watch other php related mailing lists (I for one am also subscribed to the Smart

Re: [PHP] PHP & smarty - nested queries and arrays

2005-08-11 Thread Jochem Maas
Amanda Hemmerich wrote: Hello! I'm using PHP and Smarty to try to build an array of arrays using the results from nested queries. I am just learning about nested arrays, and I'm not sure what I'm doing wrong. ... Can anyone point me in the right direction? Amanda please don't cross-pos