I hope this is the right place to ask this question...
How do I pass variables between javascript and php?
Here's the situation...
I've created a website entirely in PHP, I need to delete a record from the MySQL database, but I want to ask the user if their sure they want to delete it, before actually deleting it.
I don't know how to create a dialoge box in php(if there's a way, that would be the best solution), so I've created the dialoge box in javascript but don't know how to pass the users reponse back into the php code.
Please help.
Thanks in advance!