Just stumbled upon this and then solved it for my functionality, I know this is an old thread, but since I would find this information useful 20 minutes ago here, what I did:
keep them grouped with the same name, but distinguish them after they have been sent by checking their value in the column. those.
`
// first radio button if ($_POST['someValue'] == 'someString') { // do something // second radio button } elseif ($_POST['someValue'] == 'anotherString') { // do something else }
`
hope it will be useful to someone in the future
source share