Jump to content

User Level System9 Really easy one


prcollin

Recommended Posts

Can anyone point me to a great resource for created user levels for the login.

 

 

Basically I have three menus. Main, Top and Management

 

I want to assign everyone besides management as a lvl 1 and everyone that is management lvl 2 then set it so that the management menu only shows up when lvl 2 users sign in.

 

can i do something like

 

 

 

 

SELECT * FROM user WHERE userName = '$username';

 

if user lvl = 2

 

display page with management menu (which I am assuming it would be easiest to create a div or something then just omit it

 

else

 

display page wihtout management meny or something of that sor??

 

can i do it like that or is there an easier way. I am ne

 

Link to comment
https://forums.phpfreaks.com/topic/122925-user-level-system9-really-easy-one/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.