Choose Item:

Choose Company:
Company1
Company2

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>

<body>
<? 
if (!$_GET){
?>
<form name="form1" id="form1" method="get" action="">
  <p>Choose Item:<br />
    <select name="select">
      <option value="Item1" selected="selected">Item1</option>
      <option value="Item2">Item2</option>
      <option value="Item3">Item3</option>
    </select>
    <input name="sneaky" type="hidden" value="This is the hidden value" />
    <input type="submit" name="Submit" value="Submit" />
</p>
  <p>Choose Company:<br />
    <a href="?company=Company1">Company1</a><br />
    <a href="?company=Company2">Company2</a>  </p>
</form>
<?
}
else {
    if(
$select){
    echo 
"<p>You chose $select</p>";
    }
    if(
$company){
    echo 
"<p>You chose $company</p>";
    }
    echo 
"<p>$sneaky</p>";
}
?>
</body>
</html>
<? echo "<div>"show_source(__FILE__); echo "</div>"?>