I've modified the code to say this:
Code:function checkLoggedIn(){ return !empty($_SESSION["user_id"]); } if(checkLoggedIn() ) { echo '<p>Still logged in, and that is important.</p>'; }
I've checked it twice, and still get a blank screen. I'm sure this code is good, but I cannot make it work for me.



Reply With Quote

Bookmarks