I have”Delete” text as a link (please see the code bellow). When you click on the Delete sends id-delnumber to delete function. I will make it that appears a message box and ask if you sure? Yes and No, before the delete-id sends to the delete function.
<?php echo "<a href=lastnews.php?id-delnumber=".$row["id"]."> Delete </a>"; ?>