Hi
The short answer is try your php code like this:
<?php
if ($_POST['Age']>20 && $_POST['License']=="on") echo ("Good to go");
if ($_POST['Age']>21 && $_POST['License']=="") echo ("Sorry.. ");
?>
As a variable POSTed from the form is accessed as $_POST['whatever'], and to extract it from an url use the get method $_GET['whatever'], there is lot of explanations why, do a google search from doing a search using keywords: "register_globals" or search the forums here for reasoning behind it.
HTH
David
|