Follow these steps to run the PHP User Login Script: 1) open database.sql and import all the MYSQL queries in your database. There are two demo users which .