Re: control structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>        // 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux