PDA

View Full Version : while loop in templates


Sketch
04-27-2004, 01:59 AM
Okay so I wrote a function that returns a multidimensional array of data. Call the array $array. Now I want to cycle through $i (as in $array[$i]) until the end of the array and extract and use each set of data in $array[i] as in the case of a for loop.

So how do you recommend doing this inside a template? IOW, I need the template to (in essence) print out each set of data as it relates to $i until the end of the array.

Soes this make sense?

Aaron

Sketch
04-27-2004, 08:12 PM
Anyone at all?