This project shows how to create a simple user authentication system using PHP and MySQL. Users can register an account and login using stored database credentials.
Designed especially for beginners learning backend development.
- User registration system
- Login authentication with MySQL database
- Secure password hashing
- Simple beginner friendly PHP logic
- Clean HTML forms
- PHP
- MySQL
- HTML
- CSS
- index.html → Registration form
- login.html → Login form
- register.php → Backend logic (register + login)
- users table → MySQL database
Watch the step by step tutorial here: (https://youtu.be/hY95FvFc1c0?si=MdQNW5djOAz_8v2-)
- Create MySQL database named
youtube - Create users table using provided SQL
- Place project files in XAMPP/WAMP folder
- Open index.html in browser
Feel free to use and improve this project for learning purposes.