hi not sure what you mean, but i shall have a stab at it.
I think you should have 2 tables
table1 => questions
table2 => answers
TABLE -> questions
ID . QUESTION
1 whats the capital of france ?
2 why do french people smell ?
TABLE -> answers
ID . QUESTIONID . ANSWER . CANSWER
1 1 Paris 1
2 1 London 0
3 1 New York 0
4 2 Garlic 1
5 2 BO 0
6 2 Dnt wash 0
7 2 S. breath 0
then you can query
select Q.ID , Q.QUESTION, A.ANSWER, A.CANSWER
FROM questions Q, answers A
WHERE Q.ID = A.QUESTIONID
whats the capital of france ? . Paris . 1
whats the capital of france ? . london. 0
whats the capital of france ? . NewYork . 0
why do french people smell ? . Garlic .1
why do french people smell ? . BO . 0
why do french people smell ? . Dnt wash. 0
why do french people smell ? . S. breath.0
the key is answers.CANSWER which acts as a flag, 0 = incorrect , 1 = correct
foreach( $result2 as $v ) {
echo "<input type=\"radio\" name=\"" . $v["ID"] . "\" value=" . $v["CANSWER "] . " >" . $v["ANSWER"] . "<br>";
}