I need help with adding multiple values to a cookie.. I have a several forms in a 3 step process and I am looking to add the users responses to a cookie; but not very successful I might add.
If I take one field at a time sure then I get what I want, but that means dropping several cookies at once.. how do I go about adding multiple fields to one cookie at once?
setcookie('fname', $fname);
setcookie('lname', $lname);
setcookie('age', $age);
setcookie('address1', $address1);
how do you condense the above into one cookie set once.
I tried examples available at php.net, but nothing gets added...