title: How to display the detailed data from the database using bootstrep modal codeigniter?
body: <p>how to display the detailed data from the database based on the ID with modal boostrep twitter, please make it for jquery or ajax code so that the data appears when I click the details into the pop-up modal ?</p>
  
  <pre><code>&lt;tbody id="terakhir" &gt;
  
                      &lt;?php
                      $iw = $this-&gt;uri-&gt;segment(3) + 0;
                      foreach ($blogger as $i): $iw++;
                          ?&gt;
  
                          &lt;tr &gt;
                              &lt;td&gt;  
                                  &lt;input type="text" class='nomor' id='&lt;?php echo $iw; ?&gt;'&gt;
                                  &lt;input type="text" class='box' &gt;
                                  &lt;?php echo $iw; ?&gt;&lt;/td&gt;
                              &lt;td&gt;
                                  &lt;?php echo $i-&gt;username; ?&gt;
  
  
                              &lt;/td&gt;
                              &lt;td class=lastName &gt;
                                  &lt;?php
                                  $date = strtotime($i-&gt;tanggal_register);
                                  echo format_date($date, time()) . ' WIB';
                                  ?&gt;
  
  
                              &lt;/td&gt;
                              &lt;td&gt;Member&lt;/td&gt;
                              &lt;td&gt;
  
                                  &lt;?php
                                  if ($i-&gt;akses != "B"):
                                      echo "&lt;span class='label label-success'&gt;Active&lt;/span&gt;";
                                  else:
                                      echo "&lt;span class='label label-important'&gt;Blokir&lt;/span&gt;";
                                  endif;
                                  ?&gt;
  
                              &lt;/td&gt;
  
                              &lt;td&gt;
  
                                  &lt;a class="btn btn-danger" href="#"&gt;
                                      &lt;i class="fa fa-trash-o "&gt;&lt;/i&gt; 
                                  &lt;/a&gt;
                                  &lt;a href="#" class="btn tampil&lt;?php echo $iw; ?&gt;"&gt;Edit&lt;/a&gt;
  
  
                              &lt;/td&gt;
                          &lt;/tr&gt;
  
                          &lt;?php
                      endforeach;
                      ?&gt;
  
                  &lt;/tbody&gt;
  </code></pre>