I have two username and password with an additional field called access level.
For the sake of this explanation lets call them:
admin - abc password - page1.php and page2.php
guest- xyz password - page2.php
I have a page called 'index.php' wherein i will input my username and password. I also have a 'page1.php' and 'page2.php'I want the admin to access 'page1.php' and 'page2.php'.. While the guest can only access the 'page2.php'.