Design your radio buttons such that they contain an "id" (or some other identifying factor) that is unique for each question. For example, if you had question id#'s, you could do this:
<input type="radio" name="answer[1]" value="a">A<br>
<input type="radio" name="answer[1]" value="b">B<br>
<!-- etc. for question id#1 -->
In your PHP script that processes the data, $_POST['answer'] would be an array in which the keys/indexes would be the question id# and the value would be the radio button's value.
You can process this information like so:
foreach($_POST['answer'] as $question_id => $question_answer) {
// process answers here
}