Re: why didn't that work?
| From: | Andr� Rabold | Date: | Tue, 22 Apr 2003 14:49:34 +0000 |
| Subject: | Re: why didn't that work? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9358@lists.php.net to get a copy of this message | ||
> {math equation="$smarty.section.num.index+7"} ??? this didn't
work
http://smarty.php.net/manual/en/language.function.math.php
{math equation="x+7" x=$smarty.section.num.index}
bye,
André
"Wilhelm Kutting" <wkutting@gmx.de> schrieb im Newsbeitrag
news:20030422144315.6874.qmail@pb1.pair.com...
> Hi i don't know to to get this rocked:
>
> {section name=num loop=3 start =0 step=1}
> {$smarty.section.num.index}<br>
> {math equation="$smarty.section.num.index+7"} ??? this didn't
work
> <br><br>
> {/section}
>
> How can i get this working?
>
> the Output should be
>
> 0
> 7
>
> 1
> 14
>
> 2
> 21
>
> and so on?
>
> thanx for helping me out
>
>
>