Smarty Loop for X to Y

Submitted by:Jhon Jhon

Date added:26 November, 2012

Category:Smarty

Example code for smarty Loop for x to y with no array

Tags: loop

Code Snippet:

    {section name=waistsizes start=28 loop=40 step=1}
<option value="{$smarty.section.waistsizes.index}">$smarty.section.waistsizes.index}</option>
{/section}
 
 

Comments