if(!empty($_SESSION)){ //echo '<pre>', print_r($_SESSION, true), '</pre>'; $memberId = $_SESSION['logged_in_Member_id']; if (isset($_SESSION['logged_in_Member_id'])){ $loggedin = "true"; } }
if(!empty($_SESSION)){ //echo '<pre>', print_r($_SESSION, true), '</pre>'; $memberId = $_SESSION['logged_in_Member_id']; if (isset($_SESSION['logged_in_Member_id'])){ $loggedin = "true"; } }