title: Use bootstrap modal with href tag
body: <p>I have a table that looks like this</p>
  
  <pre><code>Name  Occupation  Detail
  abc   student     details
  </code></pre>
  
  <p>i want to set a bootstrap modal link on details column, which not only works as a model but also picks the id of that specific row.</p>
  
  <p>At present i am working with this code</p>
  
  <pre><code>echo "&lt;td&gt;&lt;a href='#myModal'?id=".$row['id']."\" data-toggle='modal' data-target='#myModal '&gt;Details&lt;/a&gt;&lt;/td&gt;";
  </code></pre>
  
  <p>Modal is working properly but i am not able to use id of the row properly with the modal
  Would appreciate if someone could help me</p>