Re: New looping method proposal
| From: | Ivo Jansch | Date: | Mon, 19 Nov 2001 10:01:02 +0000 |
| Subject: | Re: New looping method proposal | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1943@lists.php.net to get a copy of this message | ||
Hello Monte,
Monte Ohrt wrote:
This is only good for looping through one variable. More times than not, there are several variables you want to access from within the loop.I don't know about this 'more times than not'. If you have your data structured correctly, then most of the time you use associative arrays. So you loop 1 array, and have access to all data in that array. But this is a personal thing. How do the other template editors on this list think about this? If there's more than just me, I can have a look at implementing it. Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl