how to design profile page

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
adsegzy
Forum Contributor
Posts: 184
Joined: Tue Jul 28, 2009 9:26 am

how to design profile page

Post by adsegzy »

Hello, Please i need your help. I am designing a website for my class and we want to to be a social site. I have designed the registration page, the log-in page, the database and other necessary pages, but i dont know how to design the way each member profile page, which will allow the member to be able to edit his/her profile and for other to view it like people do in FACEBOOK, HI5 etc please it is my contribution to my class kindly help.

regards,
adsegzy
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: how to design profile page

Post by Jonah Bron »

You will need to setup a database with columns for each field in the user's profile. Then, when the user clicks on his profile, he will see text boxes, with his profile information from the database filling them. He then changes the boxes if he wants, and clicks the ok button. You would probably want to use POST for that. Then, it takes him to a page that submits the POST data back to the database. If another user clicks on his profile, it's the same thing, except the information isn't in text boxes.

Hope this helps.
adsegzy
Forum Contributor
Posts: 184
Joined: Tue Jul 28, 2009 9:26 am

Re: how to design profile page

Post by adsegzy »

What i mean is that, people will be able to view your profile like that of facebook.com, but you will also have access to change you profile by signing-in but visitors will only be able to view you profile without being able to edit your detail.
Post Reply