jesushax Posted July 10, 2009 Share Posted July 10, 2009 hi all here is my code My UserLevel is Admin yet i cant see those extra li's! anyone know why? <?php echo $_SESSION["UserLevel"]; if ($_SESSION["UserLevel"] == "Admin" || $_SESSION["UserLevel"] == "Editor") { ?> <li><a href="/staff/news/default.php">News / Articles</a></li> <li><a href="/staff/directory/default.php">Business Directory</a></li> <?php } ?> THanks Quote Link to comment https://forums.phpfreaks.com/topic/165463-solved-is-users-is-admin-or-editor-then-problem/ Share on other sites More sharing options...
ignace Posted July 10, 2009 Share Posted July 10, 2009 Weird, this should work however it may be an encoding kind of thing. Quote Link to comment https://forums.phpfreaks.com/topic/165463-solved-is-users-is-admin-or-editor-then-problem/#findComment-872684 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.