hi...My friend of mine told to use this code
if($session->isAdmin()) the check if the user is logged in & has admin privileges
if($session->logged_in) to check if the user is logged in (simple user)
in login system.but it doesnt work at all..i want that if i login into the system,my name saved on database will appear on the right side of my page..
I used this
Hi,<?php ($session->username);
in my code..But it didn't work..