Section loops
| From: | August Zajonc | Date: | Sat, 27 Jan 2001 01:03:57 +0000 |
| Subject: | Section loops | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9@lists.php.net to get a copy of this message | ||
Had some quick questions on section loops.
lets say my template is simply:
Start
{$i}
End
and I want $i to run from one to one hundred.
In phplib the solution is to have a block, and loop through appending with
new $i's
It appears to me that Smarty requires one to build up the complete array
beforehand, and then assign it, and that append applies to a differant case.
Is this correct?
August
> -----Original Message-----
> From: mohrt@ispi.net [mailto:mohrt@ispi.net]On Behalf Of Monte Ohrt
> Sent: Friday, January 26, 2001 12:43 PM
> To: Smarty@Lists.ispi.net
> Subject: [smarty] RE: Release 1.2.0 now available
>
>
> Well no, but that was the first post :-)
> We'll see if we can get MARC to archive it.
>
> August Zajonc wrote:
> >
> > Is there an archive of this list available somewhere?
> >
> > August
> >
>
> ---
> You are currently subscribed to smarty as: augustz@bigfoot.com
> To unsubscribe send a blank email to $subst('Email.Unsub')
>