Hi!
I'm wondering how to structure some code to display a logged in users information. Basically when they log in they enter a $username and $password. And this is checked against the mysql database.
This is all good. What's got me stumped is how to display information from other fields based upon the $username that the user enter's. Such as displaying their 'firstname' and 'surname' which is stored in the same database previously.
This is so I can welcome them with their actual name as their username is not necessarily an appropriate name to display.
Basically I know how to display user info from mysql, but am not familiar with how to show selected information based upon a storred/session variable.
I know this is a basic scenario but hey, you have to start somewhere...
Thanks for helping out
Tim
BTW this post got solved if u interested....check newbies