chimp1950 Posted June 22, 2007 Share Posted June 22, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/56725-need-some-more-information-about-member-accounts/ Share on other sites More sharing options...
metrostars Posted June 22, 2007 Share Posted June 22, 2007 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"); Quote Link to comment https://forums.phpfreaks.com/topic/56725-need-some-more-information-about-member-accounts/#findComment-280166 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.