title: Querying and Fetching db results from within a bootstrap modal
body: <p>Is it possible to do I query  a MySQL database from a bootstrap modal, based on user selection and fetch db results in same modal without the modal closing? Here's a sample of the 2 drop-downs in my modal.</p>
  
  <pre><code>&lt;div class="tab-pane" id="relevance"&gt;
                  &lt;form&gt;
                    &lt;fieldset&gt;
                      &lt;div class="controls controls-row"&gt;
                          &lt;select class="span6"&gt;
                              &lt;option value=""&gt;Volume 1&lt;/option&gt;
                              &lt;option value=""&gt;Volume 2&lt;/option&gt;
                          &lt;/select&gt;
  
  
                          &lt;select class="span6"&gt;
                              &lt;option value=""&gt;Number 1&lt;/option&gt;
                              &lt;option value=""&gt;Number 2&lt;/option&gt;
                              &lt;option value=""&gt;Number 3&lt;/option&gt;
                              &lt;option value=""&gt;Number 4&lt;/option&gt;
                              &lt;option value=""&gt;Number 5&lt;/option&gt;
                              &lt;option value=""&gt;Number 6&lt;/option&gt;
                              &lt;option value=""&gt;Number 7&lt;/option&gt;
                              &lt;option value=""&gt;Number 8&lt;/option&gt;
  
                          &lt;/select&gt;
                      &lt;/div&gt;&lt;br&gt;
                      &lt;button type="submit" class="btn btn-warning"&gt;Sort&lt;/button&gt;
                    &lt;/fieldset&gt;
                  &lt;/form&gt;
              &lt;/div&gt;
  </code></pre>
  
  <p>When the user clicks the search button it should query and display results without the modal closing. I can handle the php and SQL statements, i just don't know how to go about it.</p>