These are the codes that I used to achieve a legitimate table. However, I can't seem to add delete buttons in the column called "Delete". I could really use a little help here.
<tr>
<th>#</th>
<th>Username</th>
<th>Email Address</th>
<th>Last Login</th>
<th>Country</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
<?php
if ($result2->num_rows > 0) {
// output data of each row
while ($rows = $result2->fetch_assoc()) {
print "<tr> <td>";
echo $rows['id'];
print "</td> <td>";
echo $rows['user_name'];
print "</td> <td>";
echo $rows['email_address'];
print "</td> <td>";
echo $rows['last_login'];
print "</td> <td>";
echo $rows['country'];
print "</td> <td>";
print "</td> <td>";
Something like that: