Re: [SMARTY] adding a number to a variable inside a loop
| From: | Lucas J. Mozer | Date: | Sat, 19 Apr 2003 20:07:13 +0000 |
| Subject: | Re: [SMARTY] adding a number to a variable inside a loop | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9341@lists.php.net to get a copy of this message | ||
Hello Wilhelm,
At 2003-04-19 (21:49) You wrote:
> {/section}the output should be 1 step 72 step 143 step 214 step 28I only
> know how to do this with mathfunction of smarty, but there surely is a
> easier solution
try {section name=rows loop=$data step=71}
HTH, regards.
--
Lucas J. Mozer