In that case, I would recommend using a single string as your cookie variable. Meaning, put all the contents of the array in a single string using a delimiter.
For example, if you want to store the following items:
apple
banana
orange
then use the cookie string:
SetCookie("choices", "apple;banana;orange", time() + 3600);
Then when you want to access it as an array, use explode:
$choiceArray = explode(";", $choices);
if you want to create this string from an array, use implode:
$choices = implode(";", $choiceArray);
NOTE: look up the syntax for implode as i'm not totally sure of what it is :-)
using a single string to store array contents is better since you don't have to worry about indexing. The next time you use explode, it will re-index all the items in a sequential numerical order.
-sridhar