Hi! i want to deselect a few menu items depending on the user!
For example the administrator can have access to all the menu items in the form , Manager access to an additional few items and the data entry person to have access only the data entry menu item! how is it possible to implement this!
The users are stored in the sql database with the table structure:
Username,Password,Type

Thanks

You will need to add roles (unless that is what the type column already does) to your user database, admin, user, guest, etc. Then when a user logs in you check the role and apply the appropriate permissions to the menus.

Can i have the particular code for that please i am clueless about it!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.