title: $_POST not working with <select>
body: <p>I can get the $_POST working perfectly with the inputs but not with the select statements for some reason.  Here is my code:</p>
  
  <hr>
  
  <p>registration.php</p>
  
  <pre><code>&lt;form class="form-horizontal" action="results.php" method="post"&gt;
  
       &lt;div class="form-group"&gt;
           &lt;label class="col-md-4 control-label" for="user_type"&gt;Type&lt;/label&gt;
           &lt;div class="col-md-4"&gt;
              &lt;select id="user_type" name='user_type' class="form-control"&gt;
                  &lt;option selected="" value="&lt;?php if (isset($user_type)) { echo 'admin'; } ?&gt;"&gt;Faculty&lt;/option&gt;
                  &lt;option value="&lt;?php if (isset($user_type)) { echo 'registeredUser'; } ?&gt;"&gt;Student&lt;/option&gt;
              &lt;/select&gt;
           &lt;/div&gt;
       &lt;/div&gt;
  
       &lt;!-- Submit Button --&gt;
       &lt;div class="form-group"&gt;
         &lt;div class="col-md-12"&gt;
           &lt;button id="submit" name="submit" class="btn btn-primary center-block"&gt; &lt;span class="k-icon k-si-plus"&gt;&lt;/span&gt;Submit&lt;/button&gt;
         &lt;/div&gt;
       &lt;/div&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <h2></h2>
  
  <p>results.php</p>
  
  <pre><code>    if ($_SERVER["REQUEST_METHOD"] == "POST") 
      {
          // Setting the form inputs to variables
          $first_name = trim($_POST["first_name"]);
          $last_name = trim($_POST["last_name"]);
          $email_address = trim($_POST["email_address"]);
  
          if (isset($_POST["submit"])) {
              $user_type = $_POST['user_type'];
              echo $user_type . '&lt;br&gt;&lt;br&gt;';
          }
          echo $first_name . '&lt;br&gt;&lt;br&gt;';
          echo $last_name . '&lt;br&gt;&lt;br&gt;';
          echo $email_address . '&lt;br&gt;&lt;br&gt;';
      }
  </code></pre>
  
  <hr>
  
  <p><strong>ouput:</strong></p>
  
  <p>Alex</p>
  
  <p>Cory</p>
  
  <p>alex@mydomain.com</p>
  
  <hr>
  
  <p>Any Ideas as to why this $_POST['user_type']; isn't working?</p>