|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Trax3r Smarty n00b
Joined: 03 Mar 2014 Posts: 3
|
Posted: Thu Apr 10, 2014 9:11 am Post subject: Smarty 2 reset counter in foreach |
|
|
Hello everyone!
I have a question about the counter.
Is it possible to reset the counter after iteration in a foreach loop ?
so that he is counting again by zero.
sorry for my bad English.
Greez Francois |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Thu Apr 10, 2014 10:24 am Post subject: |
|
|
for the first call within the {foreach} loop. |
|
Back to top |
|
Trax3r Smarty n00b
Joined: 03 Mar 2014 Posts: 3
|
Posted: Fri Apr 11, 2014 7:11 am Post subject: closed |
|
|
Thank you ,
it work
|
|
Back to top |
|
|
|
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
|