Help on PHP sample code for a user to update their profile

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
mark6372
Forum Newbie
Posts: 1
Joined: Tue Nov 07, 2006 11:08 am

Help on PHP sample code for a user to update their profile

Post by mark6372 »

I am fairly new to PHP and would REALLY appreciate some help on sample code for the following:

I would like my registered users after loging in the index page will have a link for "Update my Profile" Once clicked it takes that user to their personel information on mysql db. There they can update their information. I wasnt sure if session variables would be best?

ANY ASSISTANCE is much appreciated.

Thanks in advance.
Mark :D
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

Those are both topics that are complex enough that you should probably handle them separately. First you have authentication of the user and second you have a form that updates a database record. You can search these forums for "authentication" or "login" and probably get a lot of useful information about the first one. Likewise with searching about forms. Usually if you post some code or specific design ideas here you will get better help.
(#10850)
Post Reply