title: PHP / How to post a dropdown menu option with a Submit button
body: <p>I have a dropdown menu containing a list of articles. I want to be able to select an option from the dropdown and press a submit button to initiate the deletion of the article.</p>
  
  <p>Right now articles are deleted when selecting an option from the dropdown, not great usability.</p>
  
  <pre><code>    &lt;form action="delete.php" method="get"&gt;
      &lt;select onchange="this.form.submit();" name="id"&gt;
         &lt;?php foreach ($articles as $article){ ?&gt;
                &lt;option value="&lt;?php echo $article['article_id']; ?&gt;"&gt;
           &lt;?php echo $article ['article_title']; ?&gt;&lt;/option&gt;
       &lt;?php } ?&gt;
  &lt;/select&gt;
      &lt;/form&gt;
  </code></pre>