Well, heres the thing. I'm updating my website to an everyone logs in thing. So they can do things due to their level. Ive got everything under control except for the menu. Its really bugging me, because I feel like I'm doing it right. Ive done it before, just not with session. Before I put the whole layout in, it worked. It still works as far as I'm concerned, because it shows the else{} information. Its like your not even logged in. But when I go to the Admin Panel by typing in the url after logging in, it identify me as well. So I don't know whats going on, maybe you can help me.. Here is the code bellow :
<?php
if ($session->userlevel=="8"){
?>
Menu goes here
<?
}
?>