Ticket Booking In PHP is a simple reservation system for buses and trains. The project contains the admin side and the user side. The admin can view and manage the bus and train schedule, view the booked tickets.
The users are the clients who want to search and reserve the bus or train ticket suitable for them. A user has to log in first to make the reservation. If he/she has not registered, they can register first and then log in. A user can search for available tickets for a particular city pair and book tickets in the class of their choice. This project is a very simple project that saves time and money for the customer as well as the travel company thereby making bus and train travel more customer-centric.
How To Run The Project?
To run this project, you must have installed a virtual server i.e. XAMPP on your PC (for Windows). This Ticket Booking 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/
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 “train” and then click on the import tab
7th Step: Click on browse file and select “train.sql” file
8th Step: Click on go.
After Creating Database,
9th Step: Open a browser and go to URL “http://localhost/Ticket-Booking-App”
Note: For Admin login details: (firstname.lastname@example.org, 1234567)