Re: Sv: Re: New looping method proposal
| From: | Monte Ohrt | Date: | Wed, 21 Nov 2001 20:41:15 +0000 |
| Subject: | Re: Sv: Re: New looping method proposal | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2017@lists.php.net to get a copy of this message | ||
I used loop because {section} uses it, trying to follow some kind of
similarity.
Andrei Zmievski wrote:
>
> On Wed, 21 Nov 2001, Monte Ohrt wrote:
> > I don't think it is so bad.
>
> So, how about this then:
>
> {foreach key=key item=foo in=$array}
>
> -Andrei
>
> Complexity in the mind is not caused by learning;
> learning is caused by complexity in the mind.
> -- Steven Pinker
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/