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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to