title: how to pass multiple data- id in a modal body
body: <p>Suppose I have multiple order id </p>
  
  <pre><code>$order_id='12345566778';
  $prod_id='126778899';
  $sell_id='373462562363';
  </code></pre>
  
  <p>While I select particular orderid I want it to pass in php variable which is under the modal body of popup let me know how to do it I am struggling with this </p>
  
  <pre><code>&lt;a rel="dialog" data-toggle="modal" data-id="&lt;?=$order_id?&gt;" href="#mymodal" data-target="#myModal" &gt;
      &lt;?php echo "&lt;br&gt; $order_id &lt;/br&gt;";?&gt;
  &lt;/a&gt;
  
  &lt;div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
      &lt;div class="modal-dialog"&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;×&lt;/span&gt;
                  &lt;/button&gt;
  
                  &lt;table class="table table-hover table-bordered" &gt;
                      &lt;tr style=" background-color:#00AAAD; color:#FFF; "&gt;
                          &lt;div class="modal-body"&gt;
  
                              i want to get that order id under php variable which i select           
                              here i want to display the data
                          &lt;/div&gt;
                      &lt;/tr&gt;
                  &lt;/table&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;/div&gt;
          &lt;/div&gt;&lt;!-- /.modal-content --&gt;
      &lt;/div&gt;&lt;!-- /.modal-dialog --&gt;
  &lt;/div&gt;
  </code></pre>