title: radio button form code and dropdown menu code
body: <p>I have a simple php contact form but cannot get the radio buttons to only choose only 1 option (selection required). 
  Also not sure of the script needed for drop down box (this selection is not required)</p>
  
  <pre><code>//radio button individual or team required 
  if(trim($_POST['individual']) == '') {
      $hasError = true;
  } else {
      $individual = trim($_POST['individual']);
  }
  
  //radio button individual or team required  
  if(trim($_POST['team']) == '') {
      $hasError = true;
  } else {
      $team = trim($_POST['team']);
  }
  
  
  &lt;input type="radio" name="individual" value="individual" id="individual" checked="checked"&gt;Individual&lt;/label&gt;
  &lt;input type="radio" name="team" value="team" id="team" &gt; Team&lt;/label&gt;
  &lt;label for="shirt"&gt; &lt;strong&gt;T-Shirt size (Optional)&lt;/strong&gt;&lt;/label&gt;
      &lt;br /&gt;
        &lt;select name="Shirt Sizes" id="shirt"&gt;
                      &lt;option value="small" name="small" id="small"&gt;Small&lt;/option&gt;
                      &lt;option value="medium" name="medium" id="medium" selected="selected"&gt;Medium&lt;/option&gt;
                      &lt;option value="large" name="large" id="large"&gt;Large&lt;/option&gt;
                      &lt;option value="xlarge" name="xlarge" id="xlarge"&gt;Extra Large&lt;/option&gt;
                      &lt;/select&gt;
  </code></pre>
  
  <p>Any help would be great.
  Cheers</p>