Re: Error: unexpected T_ELSE on line 14...?
| From: | Curt Zirzow | Date: | Mon, 19 Jul 2004 04:09:38 +0000 |
| Subject: | Re: Error: unexpected T_ELSE on line 14...? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190971@lists.php.net to get a copy of this message | ||
* Thus wrote Rodrigo Castro Hernandez:
>
> 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"
>
nice catch.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!