<style>
/* DELETE BUTTON */

.delete-btn{
background:#e53935;
color:white;
margin-left:6px;
}

.delete-btn:hover{
background:#c62828;
}</style>

<table class="radio-table">

<tr>
<th>ID</th>
<th>Image</th>
<th>Name</th>
<th>Stream</th>
<th>Status</th>
<th>Actions</th>
</tr>

<?php while($row=$result->fetch_assoc()){ ?>

<tr>

<td><?php echo $row['id']; ?></td>

<td>
<img src="../<?php echo $row['menu_image']; ?>" class="thumb">
</td>

<td><?php echo $row['menu_name']; ?></td>

<td><?php echo $row['stream_type']; ?></td>

<td>

<label class="switch">

<input
type="checkbox"
class="toggleStatus"
data-id="<?php echo $row['id']; ?>"
<?php if($row['status']==1) echo "checked"; ?>>

<span class="slider"></span>

</label>

</td>

<td>

<a href="edit_menu.php?id=<?php echo $row['id']; ?>" class="btn">Edit</a>

<a href="delete_menu.php?id=<?php echo $row['id']; ?>"
class="btn delete-btn"
onclick="return confirm('Delete this radio station?')">
Delete
</a>

</td>

</tr>

<?php } ?>

</table>