• 0

User rights in PHP


Question

hiya all,

i was just wondering, i do know how to give user rights and hide i.e the admin section for normal users. So only admins can see the admin section BUT how can i do this for like moderators!?

if ($userdata['user_level'] == ADMIN or $userdata['user_level'] == MOD) {
 ?>

this didnt work :/

i'm using the phpbb user structure

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.