Consider a simple series of radio buttons:
<p>
<input type="radio" name="life" value="ant">Ant<br>
<input type="radio" name="life" value="bird">Bird<br>
<input type="radio" name="life" value="cat">Cat
</p>
<p>
<input type="radio" name="stuff" value="armchair">Armchair<br>
<input type="radio" name="stuff" value="bed">Bed<br>
<input type="radio" name="stuff" value="curtain">Curtain
</p>
Now, if the form is sent by the POST method, i.e. method="post" in the form tag, then you can access the first set of radio buttons with:
$POST['life']
and the second set with:
$POST['stuff']
If the user selects 'Cat' and 'Bed' and submits it, then $POST['life'] == 'cat' and $POST['stuff'] == 'bed'
Generally, for radio buttons (and check boxes), if the field has been selected (or checked), it would be set in the $_POST array.
As such, determining which radio button has been selected is a matter of determining if it is set in the $_POST array, then comparing its value with whatever values are expected.