I am creating a small MIS with html and php with mysql database and there is a login function for the users and they have different user Levels.For example the manger's user level is 1. I want to create user grants for the system by disabling some controls such as buttons and tabs based on the user level. For example how can I disable this, for a user who has a user level of 1.
<li>
<a href="SearchProduct.php">Search</a>
</li>