<thead>
<tr>
    <th>ID</th>
    <th>Amount</th>
    <th>Method</th>
    <th>Status</th>
    <th>Timestamp</th>
    <th>Action</th>
</tr>
</thead>
<tbody>
<?php
    include('connection.php');
    $result = mysqli_query($conn, "SELECT * FROM deposit ORDER BY dp_id DESC LIMIT 30") or die (mysql_error());
    while($row = mysqli_fetch_array($result))
    {
?>
<tr>
    <td><?php echo $sa_id = $row['rv_id'];?></td>
    <td><?php echo $row['dp_amount'];?><br><small><?php echo $row['dp_amount'];?></small></td>
    <td><?php echo $row['dp_method'];?><br><small><?php echo $row['dp_method'];?></small></td>
    <td><?php echo $row['dp_status'];?></td>
    <td>Received at <?php echo $row['dp_received_at'];?>
    <br>Verified at <?php echo $row['dp_verified_at'];?>
</td>

    <td>
        <a href="?pagecontent=deposit_activity&id=<?php echo $row['dp_id']; ?>"><button class="btn btn-xs btn-primary">Update</button></a>
        
        <a href="?pagecontent=deposit_activity&delete=<?php echo $row['dp_id']; ?>"><button class="btn btn-xs btn-danger">Delete</button></a>
    </td>
</tr>
<?php
    }
?>
</tbody>