i'm currentrly coding in php and when i click a button the message should me Would you like to delete this entry?
This is where I'm currently at
<button onClick="alert('Sure to delete entry?')"><a href="delete.php?delete=<?php echo $row['guestbook_id'];?>">Remove Entry</a></button>
And sure it works. But when I press "x" to close the alert window it still deletes the entry. How can you make a popup window that has the "Cancel" opition?
I would really appreciate the help! :)