Re: function problems...
| From: | Richard Davey | Date: | Wed, 03 Dec 2003 18:38:06 +0000 |
| Subject: | Re: function problems... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171698@lists.php.net to get a copy of this message | ||
Hello Jas,
Wednesday, December 3, 2003, 6:15:20 PM, you wrote:
J> I call this function it checks a session variable then displays 1 of 3
J> menus... for some reason it will only display the first menu regardless
J> of the results of my decoded session var. Any help or just a new pair
J> of eyes would help. Thanks in advance.
J> if (($lvl != "admin") || ($lvl != "user") || ($lvl == "view"))
J> {
I'm pretty sure this need to be:
$lvl !== "admin"
(Note: double equals sign)
--
Best regards,
Richard mailto:rich@launchcode.co.uk