php range query

merdem

New Member
Basic question here. I am using php(smarty) range to populate an array for days in the month.\[code\]$smarty->assign('date', range(1,31 ));\[/code\]The form sends OK, but because counts start at 0, when I pick 20 from dropdown 19 gets sent in the form. How do I set it so it starts at 1?
 
Back
Top