I need to set a cookie with the value being the email address that was submitted on a form on another page.
How can I do that? What is the correct syntax?
Appreciate any help.
setcookie("tiramisu",$_POST['email'],0,"/");
this should do ...