Cookie, how to name

From: Date: Mon, 01 Sep 2003 01:02:00 +0000
Subject: Cookie, how to name
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-161331@lists.php.net to get a copy of this message
Sorry, hit sent by accident :) I have a cookie: if (!isset($_COOKIE["weather_htm"])) But I want the name of the cookie to include $StudentId like this: if (!isset($_COOKIE["weather_htm".$StudentId])) Of course, the line does not read the cookie. What is the problem with my syntax please? John

« previous php.general (#161331) next »