Jump to content

[SOLVED] User Levels


dean7

Recommended Posts

Hi all, on my website i have userlevels witch people with a certain userlevel can see certain things but on my code it says there is an error

 

<?
if($logged[level] ==owner | $logged[level] == head mod | $logged[level] == admin | $logged[level] ==mod)
{
// More code but not needed i think
?>

 

Im getting a error saying:

 

Parse error: syntax error, unexpected T_STRING in /home/a7502957/public_html/main.php on line 64

 

Thanks for your help.

Link to comment
https://forums.phpfreaks.com/topic/173690-solved-user-levels/
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.