Hi Folks,
Can I possible have some consructive critism on this code?
I basically want to check which type of member is logged in and then display the appropriate menu.
Am I doing this right?PHP Code:
else { // if the user is logged in - display appropriate menu
if (isset($_SESSION['student_id']))
{
echo "student menu";
}
if (isset($_SESSION['partner_id']))
{
echo "partner menu";
}
}
Could I do anyting different?
Many thanks![]()







Bookmarks