Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jan 2011
    Thanked 0 Times in 0 Posts

    Question Giving users the option of changing profile

    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.



  • #2
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Florida, USA
    Thanked 406 Times in 398 Posts
    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() 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.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts