title: Adding new <select> tag by clicking on the button
body: <p>I have a "Add a statement" button, and I need a <code>&lt;select&gt;</code> tag to appear on my page every time after clicking the button (without refreshing the page). Here's the code of Select:</p>
  
  <pre><code>&lt;select id = "statement" name = "statement"&gt;
  &lt;?php
  
     $select = "SELECT name FROM Statements";
     $res = $conn-&gt;query($select);
     while($row = $res-&gt;fetch_assoc()){
         echo "&lt;option value=\"" . $row['name'] . "\"&gt;" . $row['name'] . "&lt;/option&gt;";
     }
  
  ?&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>How can I do that?</p>