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" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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

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

Reply via email to