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 ?
<tbody id="terakhir" >
<?php
$iw = $this->uri->segment(3) + 0;
foreach ($blogger as $i): $iw++;
?>
<tr >
<td>
<input type="text" class='nomor' id='<?php echo $iw; ?>'>
<input type="text" class='box' >
<?php echo $iw; ?></td>
<td>
<?php echo $i->username; ?>
</td>
<td class=lastName >
<?php
$date = strtotime($i->tanggal_register);
echo format_date($date, time()) . ' WIB';
?>
</td>
<td>Member</td>
<td>
<?php
if ($i->akses != "B"):
echo "<span class='label label-success'>Active</span>";
else:
echo "<span class='label label-important'>Blokir</span>";
endif;
?>
</td>
<td>
<a class="btn btn-danger" href="#">
<i class="fa fa-trash-o "></i>
</a>
<a href="#" class="btn tampil<?php echo $iw; ?>">Edit</a>
</td>
</tr>
<?php
endforeach;
?>
</tbody>