|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-06-25 13:40 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 18:00:01 2025 UTC |
I tried this command $toto = "Temp"; setcookie("$toto[firstname]",$firstname); and the cookie was not set but if I write this setcookie("Temp[$toto]",$firstname); it work I found a workaround with this command setcookie(setval($toto) . "[firstname]", $firstname);