Here's what I need to write for a bunch of dropdown menus:
<select>
<option value="23">23</option>
<option value="23.5">23.5</option>
<option value="24">24</option>
<option value="24.5">24.5</option>
[etc...]
</select>
It needs to increase by .5 for every option.
The etc. part is where I need to repeat the process like 40+ times. There are multiple selects on the page as well with values starting and stopping at different numbers.
These numbers will be static and will not change once generated. So the values and HTML code just need to built once and it's good to go. The site is powered using PHP.
I don't want to have to hand-code all of this code one option after another option! I'm not sure what the easiest way to do this is. Regex? JS?