Online Flight Booking System using PHP/MySQL with Source Code


Project: Online Flight Booking System using PHP/MySQL with Source Code

About the Project

The Online Flight Booking System is a project that will help the airline ticket booking business provides its clients with an easy way and automated processing system online. This project has 2 sides of user's restriction, which are the admin and the client/website visitor. The admin will store all flight schedules into the system along with the airline information and flight details and with this data will be filtered according to the client's desired schedule to book to the website. The client will browse the airline ticketing website and find his/her desired schedule for booking and also they can also decide which airlines they want to be booked.

The system itself has user-friendly functionalities. The online flight booking system is easy to modify to add the additional features you wished for.



  • Login Page
    • This feature will help to secure the data of the system. This is the page where admin/staff will enter their system credentials to access the flight booking system administrator's side.
  • Home Page
    • The page where admin/staff will be redirected after logging into the system
  • Airlines Page
    • The page where the admin manages the list of airlines.
  • Airports Page
    • The Page where the airports and their locations are listed and can be managed.
  • Flight Page
    • The Page where the admin/staff will create and manage the flights that are available to their business.
  • Booked Flights Page
    • The page where all booked flights are listed along with the flight information and passenger information.
  • Users Page
    • The page where all users are listed and can be managed only by admin users.
  • Site Settings
    • The page where the can admin changes the other information on the website, such as the about content.


  • Home Page
    • ​​​​​​​The page where clients will be redirected by default and have the form to check the available flights.
  • Flight List Page
    • ​​​​​​​The page where all available flights are listed.
  • About Page
    • ​​​​​​​The page where the website about content is being displayed.

How to Run

  1. Download the source code and extract the zip file.
  2. Download or set up any local web server that runs PHP script.
  3. Open the web-server database and create a new database name it flight_booking_db.
  4. Import the SQL file located in the database folder of the source code.
  5. Copy and paste the source code to the location where your local web server accessing your local projects. Example for XAMPP('C:\xampp\htdocs')
  6. Open a web browser and browse the project. E.g [http://localhost/online-flight-booking-system-using-php]  and for the admin side  [http://localhost/online-flight-booking-system-using-php/admin

Admin Access
Username: admin
Password: ​​​​​​​admin123

The Online Flight Booking System is a simple PHP/MySQL project that has the ability to process and manage the booking system of a certain airline ticketing business. This project is for educational purposes and does not have a feature to generate tickets and payments online.

I hope this simple project will help you with what you are looking for. Feel free to download and modify the source code.

Explore this website for more Source codes and Tutorials.


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 byAnonymous (not verified)on Tue, 06/22/2021 - 14:48

This is a good job
Submitted byZakarya (not verified)on Wed, 09/15/2021 - 00:06

No option to add airline, please help It shows airport and location in airlines option.
Submitted by Lilian (not verified)on Thu, 11/04/2021 - 21:35

Hi,after importing the database what do i do so that i can find the system in my browser because when i browse it no results are seeing.
Submitted byMohammed Atiqu… (not verified)on Wed, 11/10/2021 - 04:45

Cpanel not working
Submitted bydave morata (not verified)on Sun, 02/20/2022 - 19:33

how can i fix when i delete a record in users and booked its loading and never delete the data

Add new comment