<td><a href="delete.php?id=<?php echo $id; ?>" class="btn btn-danger">Delete</a></td>
i used href = "delete.php?id=<?php echo $id ?>"