php - Cookies is not setting -
i setting cookie not being set when var_dump() variable trying set in cookies shows
string(4461) "[" string "]";
does mean size of string bigger capacity of cookie.
my php code looks
setookie('corredores',json_encode(array_unique($corredores))) ;
so when print cookie return null.
hash string , set coocies. or serialize array.
Comments
Post a Comment