Re: [SMARTY] Re: Increment value
| From: | Nino Katic | Date: | Sun, 23 Feb 2003 23:06:12 +0000 |
| Subject: | Re: [SMARTY] Re: Increment value | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8142@lists.php.net to get a copy of this message | ||
Thomas Schulz wrote:
> Nino Katic schrieb in php.smarty.general:
>
>> Is there some nice, easy, simple etc. way to increment
>> value inside smarty template.
>
> http://smarty.php.net/manual/en/language.function.counter.php
Counter is nice function but i think it's not made for that. Anyway how
would you make an {if} statement using it? {if counter == something} ?
Nino