|
Posted by Matt Warden on 06/28/05 06:51
Hello again Maximillian!
On 6/27/05, Maximillian Schwanekamp <lists@neptunewebworks.com> wrote:
> Hi Matt,
>
....
> but on first look I would say you could just
> restructure the array and template loop, something like the below.
....
>
> 3 => Array (6)
> project_id => 1
> companyname => Matt's Huge Company
> projectname => Project 1
> description => blah blah
> datecreated => Jun 27th
>
> dirs => Array (2)
> 0 => Array (2)
> name => test
> files => Array (4)
> 0 => Array (4)
> file_id => 99
> filename => foo.txt
> description => blah blah blah
> datecreated => 1119914453
> 1 => Array (4)
> file_id => 99
> filename => bar.txt
> description => blah blah blah
> datecreated => 1119914453
> 1 => Array (2)
> name => test2
> files => Array (0)
....
>
Perfect! I knew it was something with the way I was structuring my
array, but I just couldn't quite put my finger on what to change. I
have it working perfectly now. Thanks so much for your help!
--
Matt Warden
Miami University
Oxford, OH, USA
http://mattwarden.com
This email proudly and graciously contributes to entropy.
[Back to original message]
|