Re: Limiting the section loop

From: Date: Fri, 22 Jun 2001 22:09:47 +0000
Subject: Re: Limiting the section loop
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-951@lists.php.net to get a copy of this message
hi, > {section name=foo loop=$bar skip=5 max=10} {section name=foo loop=$bar offset=10 limit=20} kinda mysql-compatible ;-) > > 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? any ideas to solve this problem? thanks! bye, TOM

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