display user data

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pugs
Forum Newbie
Posts: 5
Joined: Tue Jun 24, 2008 5:28 pm

display user data

Post by pugs »

hi,

I'm pretty new to php and I'm looking for some help. I've got a simple login system and what I'm trying to achieve is to display the user information once the user has successfully logged in.

When the user successfully logs in it creates a session based on the user id in the database. I want to be able to display all the information in the database for that user. For example,

User logs in - welcome page that says welcome 'firstname' here are the tutorials you have taken...

Any help is greatly appreciated.

Thank you

Lisa
WebbieDave
Forum Contributor
Posts: 213
Joined: Sun Jul 15, 2007 7:07 am

Re: display user data

Post by WebbieDave »

What code do you have so far? If none, you'll need to google PHP MySQL tutorial for starters. If, after writing the code, you still run into troubles, you can post the pertinent code and we'll be glad to help :)
mattinahat
Forum Newbie
Posts: 17
Joined: Tue Jul 22, 2008 12:35 pm

Re: display user data

Post by mattinahat »

Try w3 schools, some excellent tutorials on there.
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: display user data

Post by califdon »

Hi Lisa, welcome to PHP Developers Net forums. We are eager to help beginners when they have a specific problem, but we cannot teach you the language and how to design your scripts from scratch. If you have written a script and it isn't working properly or doing what you want, post it here, using [syntax=php]...[/syntax] tabs around the code to make it more readable, and describe what isn't working, and we'll be glad to help you.
Post Reply