I was wondering if anyone knew the right syntax for setting a cookie, using a variable as the cookie value:
setcookie("[name]", [$variable_name], time()+1209600, "/", "", 0);
I don't have any trouble hard-coding the value in, but using a variable as the value isn't working for me.
Any ideas??
thanks
dnorton