title: How do I submit a value from a dynamic dropdown to another database?
body: <p>I have a HTML form with a dropdown select for choosing a name which is dynamically populated from a MySQL database using PHP. How would I submit that value or chosen name with the form?</p>
  
  <p>Here is my dropdown:</p>
  
  <pre><code>&lt;select class="form-control" name="nameselect" required&gt;
          &lt;option value="" disabled selected&gt;Select Name&lt;/option&gt;
          &lt;?php while($row1 = mysqli_fetch_array($result1)):?&gt;
          &lt;option value="&lt;?php echo ($row1["fullname"]);?&gt;"&gt;&lt;?php echo ($row1["fullname"]);?&gt;&lt;/option&gt;
          &lt;?php endwhile;?&gt;
  &lt;/select&gt;
  </code></pre>