...

View Full Version : Giving users the option of changing profile



xxcorrosionxx
05-25-2011, 11:12 PM
Hello once again!

I would like to let my users edit their profile. Is their a way or a tutorial i can read that will help me do this. I would like to let them edit the settings they signed up with and it saved to a mysql database. Once they edit there settings the mysql will save it automatically. Is their a way i can do this? Thank you for your help i really appreciate it.

Regards,

xxcorrosionxx

Inigoesdr
05-26-2011, 01:20 AM
Is the profile something you wrote, or is it part of a script? If you already have a login system you are likely storing a unique id for the user in the session and if that's the case all you have to do is use mysql_query() (http://php.net/mysql_query) to SELECT the data and present it in a form. Then UPDATE the data using the user's id. I recommend looking up some MySQL tutorials if you aren't familiar with (My)SQL's syntax.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum