title: submit multiple values with radio button form
body: <p>Is this better then?</p>
  
  <pre><code>&lt;form id="form1" name="form1" method="post" action="cart.php"&gt;
      &lt;input name="size" type="radio" value="Small"&gt;Small&lt;br&gt;
      &lt;input name="size" type="radio" value="Large"&gt;Large&lt;br&gt;
      &lt;input name="size" type="radio" value="XXL"&gt;XXL&lt;br&gt;
      &lt;input type="hidden" name="sizes" id="sizes" value=""/&gt;
      &lt;input type="hidden" name="pid" id="pid" value="85" /&gt;
      &lt;input type="submit" name="button" value="Add To Cart"/&gt;&lt;/form&gt;
  </code></pre>
  
  <p>Just a quick note that for retreiving the result I am using this code here:</p>
  
  <pre><code>if(isset($_POST['sizes'])){
      $myvar = $_POST['sizes'];
      echo "Your Size:", $myvar ; 
  }
  </code></pre>