How can I have a if statment that will check if $level == '2' and if $mode == 'mod' or 'moderator' or 'admin'.
Here is my statment, this is a example of something I tryed on my own:
if (($checkstatus['user_level'] == "4") && ($menu_path == 'mod' || $menu_path == 'mod_users' || $menu_path == 'mod_schools' || $menu_path == 'mod_professors'))
the user_level has to be that number but menu_path can be any of those. Someone please help. Thanks in advanced.