Jump to content

Beyond Logging In


mvsveena

Recommended Posts

Hi All,I have a form[login.php] where user enters his user id (in this case its mail id) and pwd, then clicks the login(submit) button. My code goes to database mySQL and checks whether such a user exist and whether the password matches. Its all working fine, now I have to welcome the user who logged in.I have created 5 pages like home[home.html], faqs[faqs.html], contact us[contact.html], login[login.php] ,new user[newuser.php]. And now when the user is logged in, I need to show a text 'Welcome <username>' in all the 5 pages. How do I pass the text 'Welcome <username>' to each and every page.Do I need to use cookies...Appreciate your help and thanks in advance.-veen

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...