Corsec
06-30-2005, 06:56 PM
Hey gang, just looking for a small bit of help here if you could.
The system I am working on is this:
1) Login
2) Loads User Profile Page
3) This page is custom to the user, so they can edit their details and such (e-mail, age, etc).
4) What I am not worried about is the login information, the database change information (changing age from 22 to 23 for example) and the database pull of information (pulling the original values for viewing).
5) What I am looking for help on is just the custom page. I just want to create one page (profile.php for example) that will be custom to the users login.
If you need any more questions answered, I will. I just have no idea where to start to get it to load the information based off the username.
What I am thinking is something along these lines:
$query = "SELECT age, email from USERS where uid='" . $username . "'";
Thank you in advance guys/gals.
The system I am working on is this:
1) Login
2) Loads User Profile Page
3) This page is custom to the user, so they can edit their details and such (e-mail, age, etc).
4) What I am not worried about is the login information, the database change information (changing age from 22 to 23 for example) and the database pull of information (pulling the original values for viewing).
5) What I am looking for help on is just the custom page. I just want to create one page (profile.php for example) that will be custom to the users login.
If you need any more questions answered, I will. I just have no idea where to start to get it to load the information based off the username.
What I am thinking is something along these lines:
$query = "SELECT age, email from USERS where uid='" . $username . "'";
Thank you in advance guys/gals.