I\'ve created a basic website that requires the user to select a radio button. I want a PHP file to retrieve the value of the radio button that was chosen and respond accordingl
This is the form that's being submitted. It has an action attribute which directs it to Result.php.
In order for you to get the data you want in Results.php, you need to add the radio buttons to this form
You're also going to need to change your method to POST if you're going to use the $_POST superglobal
$radioVal = $_POST["MyRadio"];