Hi! Can someone PLEASE help me? I am trying to do a drop-down box for military time. I was trying to do it like I did for the Year drop-down box, but I can't seem to get it right. Here is my code for the year drop-down box.
<select name="select">
<option value=""></option>
<? $y = date(Y);
do { ?>
<option>
<?=$y?>
</option>
<? $y = $y - 1;
} while ($y >= 1900);?>
</select>
Is there any way to use this same code by modifying it for Military time? I want to do the hours and the minutes in two separate drop-down boxes. I'm not having any luck figuring it out.
THANK YOU!!!
<select name="select">
<option value=""></option>
<? $y = date(Y);
do { ?>
<option>
<?=$y?>
</option>
<? $y = $y - 1;
} while ($y >= 1900);?>
</select>
Is there any way to use this same code by modifying it for Military time? I want to do the hours and the minutes in two separate drop-down boxes. I'm not having any luck figuring it out.
THANK YOU!!!