how to get the form data of radio button and send it to php code example
Example: php code to submit a radio button value using onclick function
Foo:
<input type='radio' name='foo' value='bar'> Bar <br>
<input type='radio' name='foo' value='fru'> Fru