i showing my users from database in html table i am make a button for every record in table for delete the record but i do not know how to do that
this is my code:
<table width="200" border="1">
<?php
while($row=mysqli_fetch_assoc($result)){
?><tr>
<th scope="col">ID</th>
<th scope="col">user</th>
<th scope="row">pass</th>
<th scope="col">edit</th>
</tr>
<td><?php echo $row['id']?></td>
<td><?php echo $row['user']?></td>
<td><?php echo $row['pass']?></td>
<td><a href="delone.php"><button>edit</button></a></td>
</tr>
<?php
}
?>
</table>