Re: Limiting the section loop

From: Date: Fri, 22 Jun 2001 14:19:08 +0000
Subject: Re: Limiting the section loop
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-946@lists.php.net to get a copy of this message
not currently. that's an idea though. thoughts? {section name=foo loop=$bar skip=5 max=10} Tom Hensel wrote: > > hi, > > smarty 1.4.3 works like a charm, the new security functions > are great. thanks! > > > {section name=foo loop=7} > > any way to loop from, for instance, index 5 to 10? > > btw, i tried to loop through an numerically indexed array, > i'm accessing a database with unique sequnce ids, > using values between 10000 and 80000; it didnt work. > starting at 1 works - any way to get this working without > having to reindex the array? > > bye, > TOM > -- -- Monte Ohrt <monte@ispi.net> http://www.ispi.net/

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