It's html. Name the radio buttons the same name, and they are grouped. html only allows one to be selected from the group.
<input type="radio" name="blah" value="1" />
<input type="radio" name="blah" value="2" />
<input type="radio" name="blah" value="3" />
<input type="radio" name="blah" value="4" />
<input type="radio" name="blah" value="5" />
5 buttons, same name, different values. Once submitted, check it like this
# POST or GET depending on your form method
if(isset($_POST['blah'])) { # one was selected
echo $_POST['blah']; # display the value
}