Re: Error: unexpected T_ELSE on line 14...?
| From: | Rodrigo Castro Hernandez | Date: | Mon, 19 Jul 2004 02:50:19 +0000 |
| Subject: | Re: Error: unexpected T_ELSE on line 14...? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190966@lists.php.net to get a copy of this message | ||
Hi,
You have two problems in these line:
Harlequin said:
>
> if ($_SESSION["Authorised"]="Yes");
1. The obvious ";" at the end of the line.
2. $_SESSION["Authorised"]="Yes" it's different to write:
$_SESSION["Authorised"]=="Yes"
Cheers,
--
Rodrigo Castro Hernandez