> -Original Message-
> From: Steve Dodkins [mailto:[EMAIL PROTECTED]]
> Sent: 15 October 2002 14:22
> To: Php-Db (E-mail)
>
> Hi I'm trying to print the contents of a cookie (php 4.2.3)
> the syntax below
> is wrong but what should it be?
>
> if ($_cookie["cookiename"]== TRUE) {
> echo"
If (isset($_COOKIE[cookiename]) {
echo 'Your cookie is: '.$_COOKIE[cookiename].' ';
}
-Original Message-
From: Steve Dodkins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 9:22 AM
To: Php-Db (E-mail)
Subject: [PHP-DB] echo printing a cookie
Hi
Here ya go..
if ($_cookie["cookiename"]) {
echo"your cookie is".$_COOKIE['cookiename']."";
}
Cheers
Simon
-Original Message-
From: Steve Dodkins [mailto:[EMAIL PROTECTED]]
Sent: 15 October 2002 15:22
To: Php-Db (E-mail)
Subject: [PHP-DB
ehl.co.uk> cc:
Subject: [PHP-DB] echo printing a
coo
Hi I'm trying to print the contents of a cookie (php 4.2.3) the syntax below
is wrong but what should it be?
if ($_cookie["cookiename"]== TRUE) {
echo"your cookie is" $_COOKIE["cookiename"]"";
}
Regards
Steve Dodkins
IMPORTANT NOTICE The information in this e-mail is confidential and should