1. Write a PHP script to accept data from your HTML forms (Register.php and Login.php). The two scripts are processing data from the forms you created in Lab 3 respectively.
2. Using phpMyAdmin, create a database called “myDB”. Within “myDB”, create a table called “Followers”.
3. Write a PHP script (db_connect.php) for connecting your client files to the database you created. Both Login.php and Register.php should include the db_connect script for connection with the database. When invoked, Login.php should check if the user credentials are valid. In cases where the user’s credentials are not valid, the system should inform the users that either their password or username is wrong while redirecting them to the index page.
4. On successful login, users should be redirected to a page showing their profile and other information on their profile page.