If...else parsing error
Posted: Sun Jan 13, 2008 7:45 pm
Hi all,
I'm sure this will seem basic, but...
I get the following error:
from this code:
I just can't seem to see why it won't work.
Any ideas?
I'm sure this will seem basic, but...
I get the following error:
Code: Select all
Parse error: parse error, unexpected T_ELSE in e:\domains\h\holtworth.co.uk\user\htdocs\workhome\newworkhome.php on line 29Code: Select all
<div><?php
if(!isset($_COOKIE['Testcookie']));
{
echo "Welcome back";
echo $HTTP_COOKIE_VARS["TestCookie"];
}
else{
echo "Welcome to our site! Please login or register";
}
?></div>Any ideas?