title: How to get value of selected option from a html form's dropdown list into mysql database?
body: <p>Have a form with a dropdown list with the first option selected by defualt.  How can I get the value the user selects into my data base?  Thanks in advance for your help?</p>
  
  <p><strong>HTML FORMS DROP DOWN LIST:</strong></p>
  
  <pre><code>&lt;select name="extrafield5"&gt;
   &lt;option value="NOW" selected="selected"&gt;Submit order now&lt;/option&gt;
   &lt;option value="REVIEW"&gt;Submit my order for review&lt;/option&gt;
  
  &lt;/select&gt;
  </code></pre>
  
  <p><strong>IN PHP FILE</strong></p>
  
  <pre><code>if (isset($_POST['extrafield5'])){
      $extrafield5 = $_POST['extrafield5'];
  }
  
  else {$extrafield5 = '';}
  </code></pre>