Individual Assignment
Individual Assignment
Design
1. Your task is to build a user login system for an online platform. The system should allow users
to log in securely using their credentials. Below are the three components you need to
implement:
a) Front-End Form (HTML):
• Design an HTML login form with fields for username and password.
b) PHP Server-Side Code:
• Write PHP code to Validate input (e.g., check if fields are not empty). Retrieve the user’s
password from the database based on the provided username.
c) Database Interaction (MySQL):
• Create a MySQL database named ‘db’ and a ‘users’ table with columns ‘id,’ ‘username,’
‘email,’ and ‘password’?”
2. Your task is to build a user registration system for an online platform. The system should allow
users to create accounts securely. Below are the three components you need to implement:
✓ Design an HTML registration form with fields for name, email address, phone and
password.
Note: Please ensure that you submit this before the final exam.