Forum Moderators: coopster
if ($permission & CONSTANT_FOR_PERMISSION_TO_CHECK)
{ //Do something here } A switch case would work as well. Basically, you just need to check for the permission level before outputting anything. I would suggest a session variable that is stored during your login validation and cleared when the session dies.
- Ryan