Re: [SMARTY] Easy question
| From: | Andrei Zmievski | Date: | Thu, 30 May 2002 19:29:25 +0000 |
| Subject: | Re: [SMARTY] Easy question | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4468@lists.php.net to get a copy of this message | ||
On Thu, 30 May 2002, Eric Mueller wrote:
> Ok, totally 'duh' question: I have a variable, $max, which is the number
> of times I want to loop. That's it. There's no array here-- if $max =
> '10', I want to loop 10 times in a template. How would I do that?
{section name=mysec loop=$max}
{/section}
-Andrei http://www.gravitonic.com/
"Remember, high-tech means breaks down next week, while cutting edge means
breaks down this afternoon." -- Bruce Sterling