Re: Sv: Re: New looping method proposal
| From: | Andrei Zmievski | Date: | Wed, 21 Nov 2001 23:06:33 +0000 |
| Subject: | Re: Sv: Re: New looping method proposal | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2026@lists.php.net to get a copy of this message | ||
On Thu, 22 Nov 2001, Bertrand DUNOGIER wrote:
> index_prev, index_next, etc already exist, don't they ? :)
> (http://www.phpinsider.com/php/code/Smarty/docs/x706.htm#BUILTIN.FUNCTIONS.SECTION)
> They mean next index, previous index, yes.
>
> By instance, i've been using index_next when i wanted to make
> something special on the current value if the next value had a
> particular value.
<sigh> They exist for {section..}. I'm asking about {foreach..}.
-Andrei
"Music expresses that which can not be said
and on which it is impossible to be silent."
-Victor Hugo