Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

section loop from x to y

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
assbach
Smarty Rookie


Joined: 21 Jun 2003
Posts: 11

PostPosted: Sat Jul 19, 2003 12:44 pm    Post subject: section loop from x to y Reply with quote

hi,

silly question i believe but how can i make a loop like

for ($i=4;$i<98;$i++)

this meanst loop is not starting from 1 like_

Code:

{section name=i loop=$maxPage}
{$smarty.section.i.rownum}
{/section}


couldnt find anything here...
Back to top
View user's profile Send private message
assbach
Smarty Rookie


Joined: 21 Jun 2003
Posts: 11

PostPosted: Mon Jul 21, 2003 11:56 am    Post subject: Reply with quote

oops. i found it. start var can be set.

why didn't you just hit me with this? Smile
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP