I have been googling "set cookie array with php" and the information is just so confusing for a beginner.
If anyone can be as specific as possible, I would appreciate it. The website is www.azwm.com
, but of course, the page with my experiment isn't posted yet-- plus it's "server side"
I need to do 2 things:
1. Using PHP, set a cookie array for the longest possible allowed time-- using the 5 values:
Each variable is assigned a string, of course.
2. Next, when a page loads, I need to check to see if the above cookie array is there. If it is, I would populate the same variables (if possible) with the data from the cookie.
If the cookie has not been set, then I need to populate the above 5 variables with my defaults.
Can anyone help? I thank you in advance.