User Password Change Part 2 - English

4413 visits


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.