$options = array(); for($i = 1;$i<=$count+1;$i++) { $options[$i] = $i; } echo form_dropdown('position', $options).br();
<?php for($i=1; $i<=100; $i++){ $arr_number[$i]=$i; } echo form_dropdown('listnumber',$arr_number,1); ?>