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">

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

If you need more help, Please let me know.

Thanks,
Ajay

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.