I am trying to make it so that only people with access rights of A can access a particular part of the site. But I ma struggling to get it to work.
Where am I going wrong?? The code below is what I am trying to use
Cheers
Code:<?php session_start(); if ($_SESSION["accessrights"] === 'B' || 'C'){ header ( 'location: /' ); exit; } ?>









Bookmarks