Online Hotel Reservation System is developed using PHP, CSS, and JavaScript. It contains a user and admin side from where a user can check room availability and make an online reservation easily. From the admin panel, he/she can maintain room records, comments and many more. The Admin plays an important role in the management of the system. In this project, the user has to perform all the main functions from the Admin side.
About Online Hotel Reservation System In PHP
In order to book, the user has a select start and end date. This will display all the available rooms within the range and the user has to select room type with the number of rooms, adults, and child. For confirmation, the user has to enter his/her first, last name, email id, phone number, and address. After all these, the system will redirect the user to the payment page. All the bookings can also be canceled by the user by entering confirmation number. From the user’s side, he/she can look of room details, gallery, contact information and location.
The admin has full control of the system. A user should perform all the main functions from the admin panel. Here, the admin can manage reservations, users, comments, room and room inventory. He/she can add rooms by entering its rate, type, number, description and uploading an image. The admin can easily manage room’s check in, and check out details and view total comments from the users. For the easy management of the system, it contains user management too. The features of this project can be summarized as –
- Admin Panel
- Check Availability
- Cancel Reservations
- Manage Comments
- CRUD Rooms
- CRUD Room Inventory
- User Management
How To Run Online Hotel Reservation System In PHP ?
Design of this project is pretty simple so that the user won’t find any difficulties while working on it. Online Hotel Reservation System in PHP helps in easy management of reservations of the hotel. To run this project you must have installed virtual server i.e. XAMPP on your PC (for Windows). After Starting Apache and MySQL in XAMPP, follow the following steps
- Extract file
- Copy the main project folder
- Paste in xampp/htdocs/
Now Connecting Database
- Open a browser and go to URL “http://localhost/phpmyadmin/”
- Then, click on the databases tab
- Create a database naming “shoopingcart” and then click on the import tab
- Click on browse file and select “shoopingcart.sql” file which is inside “DATABASE” folder
- Click on go.
After Creating Database,
- Open a browser and go to URL “http://localhost/newhotel/”
For Admin Panel
- Final Step: Go To URL “http://localhost/newhotel/admin/dashboard.php”
OR You can click on Admin Login from the user’s side (Below Check Availability)
For username and password, refer “Readme.txt” file.