Authentication Forms Component - Copy this Html, Bootstrap Component to your project
I would like to create a login and registration system where users can register with different roles (Receptionist, User, Admin) and upon logging in, they are directed to different pages based on their role. The backend will be written in PHP and will connect to a MySQL database to store user information. The frontend will use HTML and Bootstrap for design. Could you provide code for the following: Registration Page: Users can register, with their role being chosen from a list (Receptionist, User, Admin). Login Page: Users can log in, and based on their role, the system should direct them to different sections (for example, Admin might see an admin dashboard, while a user might be redirected to a user profile page). Database Connection: Include comments on how to connect to the database and how to handle roles in the backend using PHP. con htm y bootstrap
