I have something like this
$result = $conn->query("DELETE FROM agendas WHERE agendaID='" . $_GET["delete"] . "'");
Where $_GET["delete"]
is the id that I just received with GET.
I want to ask the user if he wants to delete or not, but not sure how to implement getting his input.
I was thinking about using 2 links, but not sure how to pass the answer, since then they can do whatever they want.
echo '<a href="url">Yes</a>';
echo '<a href="url">No</a>';