Edmhar Posted October 29, 2013 Author Share Posted October 29, 2013 Okay, remove the print_r if($_SESSION['login'] && $_SESSION['type'] === 'ADMINISTRATION'){ You have 3 comparisors === Try with only 2 == Other than that its hard to say whats going on. You just have to do some faultfinding within your files and functions. you are so good in programming i hope youre like my professor hahaha BTW check this link im doing in my inventory system http://forums.phpfreaks.com/topic/283378-logical-operation-for-php-with-mysql-inventory-system/ Quote Link to comment https://forums.phpfreaks.com/topic/283308-2-types-of-users-problem-problem-dont-have-limitation/page/2/#findComment-1456043 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.