Jump to content

Need some more information about member accounts?


chimp1950

Recommended Posts

So if I make a signup page that inserts the user's username and pass to mysql, and a login page that checks with the mysql to see if the pass is right.. and if its right log them in.. but im confused about the login bit, i mean how do i know to display all their personal details from mysql, like their profile page etc..what do i need to make for the place they go after the login bit?

Any adive what i need to learn, thanks

 

I'm not quite sure what your asking.

 

But to display all of their results, you just need to place the user name/id into a session variable, and then use it in a mysql query to get all of the details about that user.

 

and just use

 

header("Location: http://www.example.com/thepagetogotoafterloginl.php");

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.