I have a radio buttons form on a page and when I pass it to the next page I want the code below to be able to detrmine which one has been chosen. So if "Currently In Place" has been chosen I want the screen to echo "X" but not the others. Anyone any ideas please? 😕
if($POST['myradio'] = "Currently In Place") {
$s= "X";
}
if($POST['myradio'] = "Required Essential") {
$t = "Y";
}
if($_POST['myradio'] = "Required-Recommended") {
$u= "Z";
}
echo $s,$t,$u;