Hi everyone,
I am making a quiz using forms. The user answers by clicking on radio type buttons e.g.
<input type="radio" name="question1" value="whatever1">
<input type="radio" name="question1" value="whatever2">
<input type="radio" name="question1" value="whatever3">
I collect the answer on the second page using something like
$answer1=$_POST['question1'];
Now the problem: If the user doesn't answer at all i get something like
Notice: Undefined index: question1 in c:\......
What can I do to prevent this?
thanks a lot!