User Password Change Part 2 - English

Play
Current Time 0:00
/
Duration Time 0:00
Remaining Time -0:00
Loaded: 0%
Progress: 0%
0:00
Fullscreen
00:00
Mute
Captions
  • captions off
  • English

5896 visits



Outline:

User Password Change Part 2 Checking whether encrypted old password matches with the database password and new password is same as confirm password. md5("parameter")- encrypts parameter into irreversible logical code. mysql_connect("hostname", "username", "password") - Connect to the Database Server with the authorized user and password. mysql_select_db("database_name") - This selects a database within a connected database server mysql_query('TYPE_HERE_YOUR_MYSQL_QUERY') - It is used to run specific queries on our database.Here it retrieves password of user logged in.