Jump to content
Larry Ullman's Book Forums

kc1469

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About kc1469

  • Rank
    Newbie
  1. Oh yea. That is what I just did lol. I forgot about that. Yea, i changed it to my actual pw and then it worked. ... Oops!
  2. I am not sure what happened. I went back and tried it again today and now its working. Thanks for the help anyway, really appreciate it!
  3. Thats just the thing. The script works fine. I can add the information to the $_SESSION array and it will show on the web page. I use the print_r() at the beginning of the script to see if the $_SESSION array is loaded or still empty after my reloading of the page. However, the $_SESSION stays empty. In other words, the else statement does not run, which must mean that its not getting loaded into the database because the script is not reading from the database the new values. Likewise, if I check my database after running the script (the first time), the database is still empty. Th
  4. I have followed the book closely and looked over the code to make sure it matches Larry's. However, no matter what I do, I am not able to load the session into the database when I run the sessions.php file as per the book. I was hoping on some help to figure out what the issue is. I am running PHP 5.4.10 and Mysql 5.5.29. Thanks for the help in advance! ******This is my db_sessions.inc.php file:********* <?php # Script 3.1 - db_sessions.inc.php /* * This page creates the functional interface for * storing session data in a database. * This page also starts the session.
×
×
  • Create New...