I have a php page with two hyperlinks. I one to send email to certain addresses and the other to also send emails to another address and also delete their records from the database.
I don't want a case where the user accidentally clicks on the link takes the wrong action.
i thougth about javascript confirm function. so i tried combining the javascript confirm function and php but i don't seem to get the two working.
i need the results from the confirm function which is either true or false so i can take appropriate action.
Is there an alternative?does php provide similar alert functions? i really need help.