Thread: coding question
View Single Post
Old 01-17-2014, 02:02 PM  
Ketchup
Confirmed User
 
Ketchup's Avatar
 
Join Date: Jul 2006
Location: Toronto Canada
Posts: 563
coding question

on a form this code is for height in inches how can i make it to display in feet ,thanks

<label>Height:</label>
<select name="height" class="search_input">
<option value="">--select--</option>
<? for($i=58;$i<=73;$i++) {
?>
<option value="<?=$i;?>" <? if($rs['height']==$i) { echo "selected"; }?>>
<?=$i;?>
</option>
<? } ?>
</select>
Ketchup is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook