Re: Error: unexpected T_ELSE on line 14...?

From: Date: Sun, 18 Jul 2004 23:32:07 +0000
Subject: Re: Error: unexpected T_ELSE on line 14...?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-190946@lists.php.net to get a copy of this message
I figured it out. Got the semicolon at the end of that first line. Doh...! -- ----------------------------- Michael Mason Arras People www.arraspeople.co.uk ----------------------------- "Harlequin" <michael.mason@arraspeople.co.uk> wrote in message news:20040718232549.13047.qmail@pb1.pair.com... > What the hell have I done this time...? > > Well, more to the point - what gave I missed...? > > > > if ($_SESSION["Authorised"]="Yes"); > { > // Body ~ Verified User: > echo "<br><br><br>"; > echo "<p>Thank you $UserCName, Now please just provide the following > information > and your aProfile will be loaded."; > } > else <<<----- The offending line...! > { > echo "You need to go back and complete the fields correctly...!"; > } > > -- > ----------------------------- > Michael Mason > Arras People > www.arraspeople.co.uk > -----------------------------

« previous php.general (#190946) next »