How to change Password in php

5635 2

$1*/ mo hosting! Get going with GoDaddy!

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

In this article

Join the Conversation