Re: [SMARTY] For
| From: | Jason Sweat | Date: | Fri, 21 Feb 2003 12:17:03 +0000 |
| Subject: | Re: [SMARTY] For | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8074@lists.php.net to get a copy of this message | ||
{section name=i loop=6}
item {$smarty.section.i.index}
maybe {$i}?
{/section}
----- Original Message -----
From: "Mattias Hallström" <di98mha@student.bth.se>
To: <smarty-general@lists.php.net>
Sent: Friday, February 21, 2003 6:16 AM
Subject: [SMARTY] For
> Hi,
>
> Probably a pretty simple question.
> Smarty has got foreach and sections, but how do I "for($i=0; $i<6;
> $i++)" ?
>
> The number 6 is assigned to a simple variable.
>
> //Mattias
>
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>