If the variable $delete is passed to my script it will delete a record from my databse
ie
if ($delete)
{
$link_id = db_connect();
$result = mysql_query("DELETE FROM emails WHERE email = '$delete'",$link_id);
}
however I would like a popup java window to verify the delete first, so that if cancel is selected the delete doesn't happen. I can handle the php to control this but I don't know how to get the java popup to appear and pass a variable back to the script. Can someone please help?
Thanks again .... Fizzwizz