php display confirmation message : I need to get confirmation before proceding.
My code is:

echo  "<SCRIPT>	confirm('Are you sure you want to continue')	</SCRIPT>";

//press ok should keep on processing the code while cancel not.
Currently any button pressed continue.
How can I validate what button in the confirmation pop up window pressed?
