“Hotel Management System” project is the administrator that view employees, reservation, rooms, departments, medical Services, etc. This project is done in PHP and MYSQL. Here the admin can add the employees, rooms, departments and also delete them. The main functions are performed from the Admin side. Admin has its own user Id and password where they can enter into the admin panel. Admin can only delete the departments, reservation , departments so that there will be the security for the management.
For the database connection first you need create the database named hotel.sql in the localhost/phpmyadmin/ and then you can import the database which is found inside the hotel.sql file .
The technologies used in this project are:
- HTML: Page layout and design
- CSS: Design
- JS: Fontend
- PHP: Backend
Supported Operating Systems:
You can run this project in the following operating systems:
- Windows:
- MAC:
- Linux:
How To Run??
To run this project you must have installed a virtual server i.e XAMPP on your PC. Hotel Management in PHP with source code is free to download, Use for educational purposes only!
After Starting Apache and MySQL in XAMPP, follow the following steps
1st Step: Extract file
2nd Step: Copy the main project folder
3rd Step: Paste in xampp/htdocs/
Now Connecting Database
4th Step: Open a browser and go to URL “http://localhost/phpmyadmin/”
5th Step: Then, click on the databases tab
6th Step: Create a database naming “hotel” and then click on the import tab
7th Step: Click on browse file and select “hotel.sql” file which is inside the “hotelmanagement-master” folder
8th Step: Click on go.
After Creating Database,
9th Step: Open a browser and go to URL “http://localhost/hotelmanagement-master”
This is going to “https://hotel.cihadoge.com/login”. Why cannot I open it localy ?
goto application/config/config.php and edit the base url to http://localhost/foldername
After going to [application/config/config.php] and changing the base url to [http://localhost/foldername], it gives error:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
Apache/2.4.33 (Win32) OpenSSL/1.1.0h PHP/7.2.5
Please help