title: How to pass $_GET variables from a link to a bootstrapmodal?
body: <p>Snippet from my HTML code.</p>
  
  <pre><code>&lt;td&gt;&lt;span data-placement="top" data-toggle="tooltip" title="Show"&gt;&lt;a href="#" class="btn btn-primary btn-xs" data-toggle="modal" data-target="#editBox" data-book-id="&lt;?php echo $obj-&gt;id;?&gt;"&gt;&lt;span class="glyphicon glyphicon-pencil"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;  
  </code></pre>
  
  <p>The modual that are beeing opened when link is clicked:</p>
  
  <pre><code>&lt;!-- Modal --&gt;
      &lt;div class="modal fade" id="editBox" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"&gt;
        &lt;div class="modal-dialog" role="document"&gt;
          &lt;div class="modal-content"&gt;
            &lt;div class="modal-header"&gt;
              &lt;button type="button" class="close" data-dismiss="modal" aria-label="Close"&gt;&lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;&lt;/button&gt;
              &lt;h4 class="modal-title" id="myModalLabel"&gt;Modal title&lt;/h4&gt;
            &lt;/div&gt;
            &lt;div class="modal-body"&gt;
              &lt;?php var_dump($_GET)?&gt;
            &lt;/div&gt;
            &lt;div class="modal-footer"&gt;
              &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
              &lt;button type="button" class="btn btn-primary"&gt;Save changes&lt;/button&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>Is there a proper way to pass my id into the modal?</p>