Online Flight Booking Management System using PHP and MySQL Free Source Code



This project is entitled Online Flight Booking Management System. It is a web-based application developed using PHP Language as the back end and MySQL as the database. The system allows flight ticketing agencies or businesses to provide their possible clients to book their flights online or without actually going to their offices to book their desired flights. It has a pleasant user interface using Bootstrap Framework. The project consists of user-friendly features and functionalities.

How does the Online Flight Booking Management System?

The Online Flight Booking Management System comes with 2 modules which are for the Management/Admin and the Client-Side/Passengers. The system requires both sides' system credentials to gain access to the main features of the application. On the client side, clients must register their accounts by filling in all the required fields on the registration form. The system Administrator is the one who is in charge of populating the list of airlines and flights. The admin can manage also the flight information such as writing an issue, updating the flight as departed, or updating the flight as arrived. The registered clients can simply list and book their desired flight by filling first the flight form which requires them to enter their desired depart and return dates, type of flight seat (Economy/Business Class), and the number of passengers ticket to generate. The system also contains a payment feature using the client's Visa/Credit/Master Card. After the successful booking, clients can list, manage, and print their tickets on the "Tickets" page or see some updates about their flight on the "My Flights" page.


Here is the list of the technologies used for developing the Online Flight Booking Management System:

  • HTML
  • CSS
  • JavaScript
  • PHP
  • MySQL
  • Bootstrap Framework

Features and Functionalities

The Online Flight Booking Management System contains the following features:


  • Data Summary
  • Airlines Management
  • Flight Management
  • Add Flight Issue
  • Update the Flight's Issue as Solved
  • Mark Flight as Departed
  • Mark Flight as Arrived


  • Login and Registration
  • Search a Round-trip Flights
  • Search for a One-way Flight
  • Book Multiple Flight Tickets
  • Pay Desired Flight Upon Booking
  • List all booked flights
  • Cancel Booked Flight
  • Print Flight Ticket
  • Send a Feedback


Admin Dashboard

Create Flight Form (Admin-Side)

Flight List (Admin-Side)

Passengers Login Form

Search Flights

Searched Flights Result

Tickets Page

The Online Flight Booking Management System project source code file is provided in this article and is free to download. The source code was only developed for educational purposes only. Feel free to download and modify it to meet your own requirements.

How to Run?


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

System Installation/Setup

  1. Enable the GD Library in your php.ini file.
  2. Open your XAMPP Control Panel and start Apache and MySQL.
  3. Extract the downloaded source code zip file.
  4. Copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory.
  5. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  6. Create a new database named ofbms_db.
  7. Import the provided SQL file. The file is known as ofbms_db.sql located inside the database folder.
  8. Browse the Online Flight Booking Management System in a browser. i.e. http://localhost/ofbms/.

Admin Default Access:

Username: admin
Password: admin123


That's it! I hope this Online Flight Booking Management System helps you with what you are looking for and that you'll find something useful from the source code that might help you on your current and future PHP Projects.

Explore more on this website for more Tutorials and Free Source Codes.

Enjoy :)

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 byRohn (not verified)on Tue, 12/27/2022 - 13:31

i thnk i saw this similar projeckt smwhere in other website but still
Submitted byAnonymous (not verified)on Sun, 01/08/2023 - 20:44

You suppose to be deploying project online so that we can view some functions in reality
Submitted byAhmed khadar (not verified)on Sat, 07/01/2023 - 02:40

when login the administrator where the user and pass was correct he says its error what's the problem
Submitted bySolanki sahil (not verified)on Thu, 07/06/2023 - 13:06

Submitted byAlexBook (not verified)on Mon, 02/26/2024 - 01:17

This post might be old but there is no password reset for the Admin. How is that possible? Flights are not editable That said, the code is very basic but the interface is appealing at its level

Add new comment