Re: [PHP] Cookie, how to name

2003-09-01 Thread Chris Shiflett
--- John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > if (!isset($_COOKIE["weather_htm".$StudentId])) $_COOKIE["weather_htm$StudentId"] Hope that helps. Chris = Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://ww

[PHP] Cookie, how to name

2003-09-01 Thread John Taylor-Johnston
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? Joh

[PHP] Cookie, how to name

2003-09-01 Thread John Taylor-Johnston
-- John Taylor-Johnston - "If it's not open-source, it's Murphy's Law." ' ' ' Collège de Sherbrooke: ô¿ô http://www.collegesherbrooke.qc.ca/languesmodernes/ - Université de Sherbrooke: http://comp