Re: How To Do This?

From: Date: Sun, 23 May 2004 05:37:14 +0000
Subject: Re: How To Do This?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-186783@lists.php.net to get a copy of this message
Hi Justin, For future reference, your choice of subject is poor - be more descriptive, your subject could apply to 99% of the questions asked on this list. I have no idea what you've created in DW MX 2004, nor have you given us any information about it. If you have an authorisation level stored in $authlvl, a simple switch statement would decide which menu to display. http://au3.php.net/manual/en/control-structures.switch.php I hope this helps, Aidan "Justin Kozuch" <iam@functionjunkie.org> wrote in message news:20040523025442.79111.qmail@pb1.pair.com... > Hey Everyone, > > I'm struggling with an application I'm building for a client. > > Depending on the person logged in, they have an authorization level > attached to their profile (1 for Administrator, 2 for Manager, etc). > > When they successfully login, they are presented with a menu that is > customized with options that can only be seen by certain ID levels, such > as: > > ID = 1: > View Ticket > Add Ticket > Edit Ticket > Delete Ticket > Reassign Ticket > > ID = 2 > View Ticket > Add Ticket > > etc etc etc. > > I was thinking of using an if statement, but I'm not quite sure how to > tie this into the login application I've created in DW MX 2004. > > Has anyone done this before? I'm looking for some direction on how to > proceed. > > Thanks, > > Justin Kozuch

« previous php.general (#186783) next »