1. Create a Databese Table
If you are already following from previous article, you should already have database table created. If you don’t have create the table.
2. Creating HTML Form
This is the form, only displayed if message variable in not set.
3. Adding styles to form
And the styles for the form, if you have added styles in previous article. Skip this step.
4. Connect to Database
If you are following from previous user registration article, no need to create this file. Other wise create connect.php file.
5. PHP Logic for User Login
And this is the PHP code for logging in user