I've coded a submit button that deletes the user if the user clicks on it. It sends the data to delete_data.php which deletes the data from the SQL db:
I've added an onclick attribute the input element, but I want it to display yes/no options and also make sure that if the user clicks "no", it does not send the data to delete_data.php
How can I make this happen? thanks