PHP How To Add Reset Password Feature In PHP Mysql Database urdu/hindi

Published: 06 September 2020
on channel: The Coding Class
706
6

PHP How To Add Reset Password Feature In PHP Mysql Database urdu/hindi.
how to make password reset in php mysql.PHP reset password with mysql database.
In this video php tutorial I will teach you 2 different methods of password reset.

First Method is very simple and easy. In this method of reset password user will enter his email name which will be set to unique email for each user at the time of signup process. Then in this password reset form user will enter his email address then we will check if it exist in database table or not... If email exist display password and confirm password input fields and hide previous button and display new update password button.

After this process write a new if isset post condition for update password button. First of all create three varibales and assign them input fields to relevant varibale like email,password,confirmpassword. Now create if else condition to check if both password are matching or not. IF not matching display a message otherwise in else part write update password code.

IN second method of password reset feature in php and mysql create a table in mysql database for reset password and create three columns in table id,email and token. In this table we save token with respect to email and send email to user input email address if it exist in database.

Then user will get a email in his inbox with a link to update his account password. After clicking on link use will redirect to new password page with a paramter token. We will check this token in database reset password table if this token exist then update password query will execute to update tghe user password with respect to email in reset password table.

Subscribe to my channel if you want to get notifications of my latest videos.

#php
#mysql
#passwordreset
#updatepassword
#phpmysqlresetpassword


Watch video PHP How To Add Reset Password Feature In PHP Mysql Database urdu/hindi online without registration, duration hours minute second in high quality. This video was added by user The Coding Class 06 September 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 706 once and liked it 6 people.