Jump to content

change password


johnnyblaze9

Recommended Posts

sumit like :

 

  make a form, check both fields are filled in check both fields match, then edit the password,

   <form action="" method=post >

  <input type="text" name="pass" id="pass">

  <input type="text" name="pass1" id="pass1">

 

   $pass = $_POST['pass']

   $pass1 = $_POST['pass1']

 

   if($pass != $pass1 ) { echo " do not match "; }

 

  else { echo " Do match " // update db here }

 

 thats just a idea on how you would do it,  

 

 

Link to comment
https://forums.phpfreaks.com/topic/104376-change-password/#findComment-534365
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.