Here is the form code.
<form name="form1" method="post" action="controllscript.php">
<input type="radio" name="clickedradio" value="1">
radio 1<br>
<input type="radio" name="clickedradio" value="2">
radio 2<br>
<input type="radio" name="clickedradio" value="3">
radio 3 <br>
<input type="submit" name="submit" value="Submit">
</form>
here is the script code (a part):
(controllscript.php)
switch( $clickedradio )
{
case "1": print("You selected 1"); break;
case "2": print("You selected 2"); break;
case "3": print("You selected 3"); break;
}
Hope this helps.
Ron Velzeboer