Duke Posted October 14, 2014 Share Posted October 14, 2014 I just wanted to put this out there in case it helps anyone ... (I am using PHP 5.5) For the login.inc.php script on Page 99 , step 9 In the book the row is:if ($row['expired'] === 1) $_SESSION['user_not_expired'] = true; The above line was not working for me so I used this:if ($row['expired'] === '1') $_SESSION['user_not_expired'] = true;...( I added single quotes around 1)This will also will work work:if ($row['expired'] ==1) $_SESSION['user_not_expired'] = true;...(use double ==) Thank you David Link to comment Share on other sites More sharing options...
Larry Posted October 15, 2014 Share Posted October 15, 2014 Thanks for sharing that, David. Will double-check what I did just to be safe. Link to comment Share on other sites More sharing options...
Recommended Posts