Jump to content

change password


mickey

Recommended Posts

i want to make when the user want to changed the password,they have to entered old password,new password and confirm password.can anyone help me with the coding?the old password must exactly as the current password.and new and confirm password must be same.help me please

Link to comment
Share on other sites

What don't you know how to do? Get the current password and the new password, with a confirmation. Check the new password against the confirmation for a match. Send a query to the database to find out if the old password is correct. If they are, updated the database with the new password. What part about that are you having trouble with?

Link to comment
Share on other sites

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...