Hello,
I have been attempting a "Welcome Back" type message using a session variable in order to give the user the idea that they have actually logged in.
I also understand that his is done with cookies.
However, when I put the "user_id" session variable code on my page, I get the registrant's user id so that makes me think I am using the right code, but that is not what I want the user or the world to see. When I use the same code and insert "username", I don't get the registrant's username I get MY actually username for the database.
I am basing my test website on the Knowledge of Power site and would like this kind of thing to come up on all pages that the user might pull up as they go through the site.
I am still learning PHP and it seems like there are many different ways of writing this language.
Thanks,
Marie