<input type="radio" name="bid_status" value="1">one
<input type="radio" name="bid_status" value="2">two
<input type="radio" name="bid_status" value="3">three
<input type="radio" name="bid_status" value="4">four
I want the database to assign the correct button as "CHECKED", however I'm not sure how to do this.
FACTS:
the column which contains the value is an ENUM with the values 1 2 3 4.
I know how to READ the value from the database, but how do I create a loop that will read through all the different values within the single column to see which value it is?
The reason I would like to do this, instead of assigning none of the radio buttons as checked, is that if the user does not make a change to their status, i dont want their status to be modified to a "default" value.
Any help appreciated.