Smarty Loop for x to y with no array


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. {section name=waistsizes start=28 loop=40 step=1}<option value="{$smarty.section.waistsizes.index}">$smarty.section.waistsizes.index}</option>{/section}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.