I have this code for an edit field (Does room have air conditioning - 1=yes,0=no). It displays a boolean value of 0 or 1.
I would like to rather have the user able to change the variable by use of perhaps a dropdown box, with the default value being the current value that is given to the record field(0 or 1).
BTW here is the coding for the initial input of a new record using the field (using dropdown box):
<select name="Air"> <option value="0">No</option> <option value="1">Yes</option> </select>Air Conditioning
Could I please have help with this one, so that a result can be achieved using preferably dropdown boxes… Thankyou!