Re: Limiting the section loop

From: Date: Fri, 22 Jun 2001 14:31:09 +0000
Subject: Re: Limiting the section loop
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-947@lists.php.net to get a copy of this message
Hi Monte, Monte Ohrt wrote: > not currently. that's an idea though. thoughts? Isn't this possible?: {section name=foo loop=5} <br>{$people[foo.index+5].name} {/section} That loops from 5 to 10, but I'm not sure if the +5 will work. (no time to test it) Greetings Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

« previous php.smarty.general (#947) next »