natefanaro
Technical User
I am creating a site for online quizes and having a problem with creating a quiz out of php. When you usually deal with radio buttons, when you change your mind on a choice it will remove the previous selection. when you use the html below, it will allow you to select every darn radio button there. I figured out that it has something to do with the fact that I have a variable after each radio button. when I remove the variable, it works! here's the code that I am using.
<INPUT type=radio name="result1" value="1"><? echo $ans1 ?>
<INPUT type=radio name="result2" value="1"><? echo $ans2 ?>
<INPUT type=radio name="result3" value="1"><? echo $ans3 ?>
any ideas
<INPUT type=radio name="result1" value="1"><? echo $ans1 ?>
<INPUT type=radio name="result2" value="1"><? echo $ans2 ?>
<INPUT type=radio name="result3" value="1"><? echo $ans3 ?>
any ideas