how do I disable all other radio buttons while one is selected in php

If you put the radio buttons into a group, only one is allowed to be selected at any given time.

<input type="radio" name="group1" value="button1">
<input type="radio" name="group1" value="button2">
<input type="radio" name="group1" value="button3">
<input type="radio" name="group2" value="button4">
<input type="radio" name="group2" value="button5">
<input type="radio" name="group2" value="button6">

As per "pixesoul" you can radio buttons as group
You can use jQuery to disable all other radio buttons.

If you need more help, Please let me know.