Re: why didn't that work?
| From: | Wilhelm Kutting | Date: | Tue, 22 Apr 2003 15:18:38 +0000 |
| Subject: | Re: why didn't that work? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9359@lists.php.net to get a copy of this message | ||
thanx that works !
"André Rabold" <arabold@nero.com> schrieb im Newsbeitrag
news:20030422145041.10372.qmail@pb1.pair.com...
> > {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
> >
> >
> >
>
>