title: HTML Radiobutton form not POSTing
body: <p>I have written a small HTML form and added it to the page. My goal is for it to POST the value of the Checked button to a PHP page which I have also written. The PHP page is not getting the value for some reason. I am also not getting any PHP errors. The codes are below.</p>
  
  <hr>
  
  <p>form.php</p>
  
  <pre><code>&lt;form action="http://www.zbrowntechnology.com/InsaneBrain/quiz.php" method="POST"&gt;
  &lt;font color="white" size="3"&gt;
  &lt;?php
  $con = mysql_connect("HOST", "USER", "PASS");
  if(!$con) {
    die('Unable to connect to MySQL:   '.mysql_error());
  }
  mysql_select_db("zach_insaneB", $con);
  $result = mysql_query("SELECT Name FROM quiz"); 
  while($row = mysql_fetch_assoc($result)) {
   $qname = $row['Name'];
   echo "&lt;input type='radio' name='button1' id='$qname'&gt;";
   echo "&lt;label for='$qname'&gt;&lt;font color='white'/&gt;$qname&lt;/font&gt;&lt;/label&gt;";
  }
  ?&gt;
  &lt;/font&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div id="Oobj12"&gt;
  &lt;div id="Gcode234" class="dfltc"&gt;
  &lt;input type="image" src="http://www.zbrowntechnology.com/InsaneBrain/begin.png" alt="Begin" /&gt;
  &lt;/form&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <hr>
  
  <p>getdata.php</p>
  
  <pre><code>&lt;?php
  $data = $_POST['button1'];
  echo $data;
  ?&gt;
  </code></pre>