kcxwjq_1 Posted May 1, 2012 Share Posted May 1, 2012 HI, I was wondering how I can include an update password and e-mail form on my latest website. I have the member account info stored in a MySQL table. Anything would be helpful. Link to comment Share on other sites More sharing options...
Ingolme Posted May 1, 2012 Share Posted May 1, 2012 Just use an UPDATE query and put the new password in the member's record. It's probably best if you require the old password for verification first. Don't forget to hash the password before saving it. UPDATE users SET password = '{$new_password}' WHERE id = {$user_id} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now