How to change Password in php

2479 0


In this tutorial i will explain how user can can change their old password.First Create a html form with thee fields.

  • Old Password
  • New Password
  • Confirm Password

Now Validate these fields with javascript. After this create a php script for change password . PHP script given below :

HTML code for Change Password Form

Javascript Validation for change Password

Script for Change Password

Structure of userinfo Table

 

Comments

comments

In this article

Join the Conversation