title: PHP To Select From MySQL & Insert Into Drop Down List
body: <p>I have searched the internet and I just cant seem to get my head around what to do in order to populate my drop down list from my database. </p>
  
  <p>I have a table called users where there are roles such as chairman, secretary and admin.</p>
  
  <p>My code is as follows:</p>
  
  <pre><code>&lt;td&gt;
     &lt;span id="spryselect1"&gt;
        &lt;select name="chairperson" id="chairperson"&gt;
        &lt;/select&gt;
        &lt;span class="selectRequiredMsg"&gt;You Must Choose A Chairperson For This Meeting&lt;/span&gt;   
     &lt;/span&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>How do I populate a drop down list so that it shows all the chairman available?</p>