🚗 BookMyRide – Online Car Rental Management System (PHP + MySQL)
Welcome to the full demo of BookMyRide, a complete online car rental platform built with PHP (MySQLi), MySQL, HTML, CSS, JS & Bootstrap 5.
This system helps customers browse, book, and manage car rentals, while providing admins a powerful backend to control the entire platform.
---
✨ Key Features Covered in the Video
👥 User Features
Account Registration & Login (Secure – Hashed Passwords)
Role-based redirection (Customer / Admin)
Browse all available cars
View detailed car pages
Full booking system:
Pickup & drop dates
Location selection
Personal details
Dynamic pricing (10% discount after 3 days)
Testimonial & Contact pages
JavaScript form validation
Password reset via email
---
🛡️ Admin Features
Modern Admin Dashboard
Manage Cars (Add / Edit / View)
Manage Bookings
Manage Customers
Generate Reports
Strict admin route protection
---
🛠️ Tech Stack
Frontend: HTML5, CSS3, JavaScript, Bootstrap 5, Font Awesome
Backend: PHP (Procedural), MySQL (MySQLi), PHP Sessions
Security: Password hashing, sanitized inputs, session-based protection
---
🗄️ Database Structure
Database: bookmyride
Includes tables for:
users (admins + customers)
cars
bookings
categories
payments
Default sample cars include: Ertiga, Swift, Innova, Thar, Fortuner, and more.
---
📁 Project Structure (Short Version)
/ (root)
├── index.php
├── booking.php
├── login.php
├── register.php
├── cars.php
├── admin/
│ ├── dashboard_admin.php
│ ├── Add_car.php
│ ├── View_cars.php
│ ├── all_bookings.php
│ └── customers.php
└── assets/
├── css/
└── images/
---
🚀 How to Run (Local Setup)
1. Clone repo
2. Move to xampp/htdocs
3. Start Apache + MySQL
4. Import bookmyride.sql in phpMyAdmin
5. Run project → http://localhost/bookmyride/
---
👨💻 Developer
Lathiya Harshal
IT Student | Full-Stack Learner | Freelance Developer
---
⭐ Support
If this project helped you:
👍 Like • 💬 Comment • 🔔 Subscribe
⭐ Star it on GitHub — it motivates me to build more!