title: POST don't work on select
body: <p>I have this modal and I want to get the 'select' value with $_POST['select'] in my link when pushing on the button, but it don't works (there is no id in the link), thanks you.</p>
  
  <pre><code>  &lt;!-- Modal --&gt;
            &lt;div class="modal fade" id="myModal" role="dialog"&gt;
              &lt;div class="modal-dialog modal-lg"&gt;
                &lt;div class="modal-content"&gt;
                  &lt;div class="modal-header"&gt;
                    &lt;button type="button" class="close" data-dismiss="modal"&gt;&amp;times;&lt;/button&gt;
                    &lt;h4 class="modal-title"&gt;Afficher les factures d'un dossier&lt;/h4&gt;
                  &lt;/div&gt;
                  &lt;div class="modal-body"&gt;
                      &lt;center&gt;
                      &lt;?php
  
                       $bdd = new PDO('mysql:host=MYHOST;dbname=MYDBNAME', 'MYUSERNAME', 'MYPASSWORD');
          $dossier = $bdd-&gt;query('SELECT * FROM dossiers ORDER BY id DESC');
  
                       ?&gt;
                    &lt;p&gt;Choisir un dossier : &lt;form method="POST" action=""&gt; 
                        &lt;select name="select"&gt; &lt;?php  
                        while($d = $dossier-&gt;fetch())
                        { 
  
                        ?&gt;
  
                            &lt;option value="&lt;?= $d['id'] ?&gt;"&gt;&lt;?= $d['id_dossier'] ?&gt;&lt;/option&gt; 
  
                       &lt;?php
                        }
                    ?&gt;&lt;/select&gt;
                    &lt;/form&gt;
                    &lt;/p&gt;
                      &lt;/center&gt;
                  &lt;/div&gt;
                  &lt;div class="modal-footer"&gt;
                    &lt;a type="submit" class="btn btn-default" href="displayfolder.ph
  
  p?id=&lt;?= $_POST['select'] ?&gt;"&gt;Afficher&lt;/a&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
  </code></pre>