Activity MVC
Create a Signup Form, Login Form, and Home Page using the MVC architecture.
1. Signup Form (View)
Design a signup form where a new user can enter details (e.g., name, email/username,
password, confirm password).
Add proper input validation (e.g., required fields, correct format, password confirmation).
Controller:
Create a controller method to handle signup.
Save the user’s data into the database (Model).
After successful signup, redirect the user to the Login Page.
2. Login Form (View)
Design a simple login form that allows a user to enter their email/username and
password.
Add proper input validation (e.g., required fields, correct format).
Controller:
Create a controller method to handle the login process.
Validate user credentials against the data in your database (Model).
If login is successful, redirect the user to the Home Page.
If login fails, display an error message on the login form. what you need to do is just create a sql for this in xampp