This is a discussion on "Php User Profile Help" within the PHP Forum section. This forum, and the thread "Php User Profile Help are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Php User Profile Help
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hi well i have a login script but when users login i want a update profile script which they can change there passwords and contact information and other features if any one can help please reply thankyou
Aaron |
|
|
|
|||
|
Re: Php User Profile Help
You basically need the same form that you used to do the sign up.
Instead of running an INSERT query on MySQL, you'd run an UPDATE query UPDATE tablename SET emailaddress = '$email' WHERE userId = '$userId' For the WHERE part of the query, you need something unique to that user. Usually the primary key. If your using a session to hold the login values, you should have the primary key in the session. I hope thats not too confusing! If you need more help, please post the login script. Cheers, Jim. |
![]() |
| Tags |
| php, user, profile, help |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Help: User profile interface | WDH | Scripts and Online Services | 16 | Sep 26th, 2007 02:36 |
| user Profile page | typacolipse | Starting Out | 4 | Apr 16th, 2007 18:42 |
| user profile help | Aaron1988 | Flash & Multimedia Forum | 12 | Aug 31st, 2006 14:04 |