Online Ticket Reservation System using PHP with Source Code


This is a Simple Online Ticket Reservation System that was developed using PHP and MySQL Database. This system help the travel businesses to provide their client an online platform to reserve a ticket to their desired destination. The system has a pleasant and responsive user interface with the help of Bootstrap Library. This system has only small scope but enough to help you guys to understand how to create a ticket reservation system like this. This system has also a simple admin panel. The admin panel is a restricted area of the system which only can be access by the admin user using their system credentials. In this side of the system, the admin user can confirm/cancel the reservation of their clients.

This simple web application was developed using PHP, MySQL Database, HTML, CSS, Javascript, and Bootstrap. You can download the source code zip file for free and you can modify it to meet your requirements. .


  • Admin Login/Logout
  • Reservation
  • Confirm Reservation
  • Cancel Reservation
  • Recalculate the Reservation with a discount
  • List All Confirmed/Paid Reservation

How to Run


  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)


  1. Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. Extract the downloaded source code file.
  3. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming "medallion".
  6. Import the provided SQL file. The file is known as "medallion.sql" located inside the extracted source code folder.
  7. Browse the Simple Online Ticket Reservation System in a browser. i.e. http://localhost/medallion

Admin Access

Username: admin
Password: admin


That's it! You can now explore the features and functionalities of this simple PHP Project. I hope this project will help you with what you are looking for and you will find something useful for your future PHP Projects.

Enjoy Coding :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted bymayafiuzaon Mon, 02/12/2018 - 23:08

Please, login: admin | admin don't work! :^(

create database first name it with the name of the file name, after that import your database and your good to go.
Submitted byRoyalCon Tue, 02/20/2018 - 16:54

hi i have import the database, site works but unable to enter admin panel with login and password admin:admin ?

Add new comment