Okay i have a selection box(drop down menu) and a set of radio buttons.
Select Your Class:
<form action="" method="post">
<select name="class">
<option value="a">A</option>
<option value="b">B</option>
</select>
<br><br>
Red or blue:<br>
<input type="radio" name="red" value="red">Red
<input type="radio" name="blue" value="blue">Blue
</form>
I have connected my PHP script to database and retrieved the data from a table and stored them in variables to be echo out. ROW is Mysql fetch array .
$class = $row['class']
$color = $row['color']
How can i display it out in the radio button and selection box (normally for text box i set the value to
<? php echo $foo ?>
Can someone help me?