Re: control structure

From: Date: Fri, 05 Aug 2011 04:00:07 +0000
Subject: Re: control structure
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-314368@lists.php.net to get a copy of this message
> >        // This part makes no sense they are not logged in and they have a > level of 1 or 2 ? Yes. It might not be the best approach, but I am assigning the user a value: 1, 2, or 3 while they create an account. This will limit what they will be able to post. For example I only want users with user level of 1 or 2 to be able to complete the form in this script. Hence, the control structure I am trying to include. >        // And you was missing a Pipe after false. It will cause the If > statement to fail. Thanks for pointing this out. I quess I have been staring at the computer way too long! Chris

« previous php.general (#314368) next »