We have developed Bus Ticket Reservation System using PHP (PHP: Hypertext Preprocessor) and MySQL. This is the online project works in the website. In this project Passenger books the ticket and he pays through online. This project provides bus details, route information, seats details, billing details, ticket information, seat cancellation, etc.

Bus Ticket Reservation System

The existing system is not user friendly and the user needs to enter all the details of the passenger manually. It consumes lots time and very confusion. Even in the existing system the passenger has to visit the ticket counter to book the ticket.This is not user friendly.

The passenger can search bus details by entering from and to place. After that he has to select departure date, number of passengers, bus type and seat type. The system will search in the database. After searching the system will display the list of buses. To book the ticket the passenger must create account in the website. The passenger can book the tickets after making payment. Passenger registration required to book ticket. Administrator check weekly report, monthly report, etc. Here Complete Project source code is uploaded. busticket is the database folder.

Bus Ticket Reservation System 

Functions of this project:

  • User friendly ticket booking option – The details of bus, bus route, Price list, drivers and employee details are maintained in the admin panel.
  • The details of buses and its seatchs maintained and can be updated regularly in the admin panel.
  • Login and book options available for passengers. Passenger needs to register at least one time.
  • Change password, Add users, View users options are available for admin.
  • It will generate the quick reports
  • The calculation part and billing part has very accuracy and efficient.

Software Languages:

Front End : PHP (PHP: Hypertext Preprocessor)

Back End : MySQL Server

Note: The system works in any platform. Kindly install XAMPP or any software to test this project. You must change database configuration details in the script. Its developed using core PHP (PHP: Hypertext Preprocessor) and its very easy to edit.

120 thoughts on “Bus Ticket Reservation System”
  1. Dear Sir,
    This project generating error : Warning: mysql_connect(): Access denied for user
    ‘root’@’localhost’ (using password: YES) in C:wampwwwBus Ticket
    Reservation Systemmysql.php on line 3

  2. Hello, thanks for sharing with us. As everybody else here, we’re missing the DB sql file, can you please provide it ? I have managed to create two tables required so far, the “admin” and the “route” but I don’t know the field types. Thanks in advance

    1. hehe, I figured out myself the DB, it was just matter of reading carefully. They say in description that folder name is “busticket”, this folder needs to be copied into MySQL DB folder and the DB will show up immediately. Anyway, here you got a SQL dump of this DB http://pastebin.com/raw.php?i=5WBbS4tu
      But this PHP app has a loooooong way ahead, too many troubles to be fixed…

      1. could you pleae tell me where exactly we need to copy busticket folder? im a little confused by Mysql DB folder.

  3. Hello, the script looks nice but the DB is missing into the ZIP. So far I have tried to recreate DB and two tables “route” and “admin”. Any chance to have the DB structure in sql file ?? Thanks for sharing mate

  4. help me to figure this error please 🙁

    Warning: session_start() [function.session-start]:
    Cannot send session cookie – headers already sent by (output started at
    C:xampphtdocsBus Ticket Reservation Systemindex.php:1) in C:xampphtdocsBus Ticket Reservation Systemmysql.php on line 2

    Warning: session_start() [function.session-start]:
    Cannot send session cache limiter – headers already sent (output
    started at C:xampphtdocsBus Ticket Reservation Systemindex.php:1) in
    C:xampphtdocsBus Ticket Reservation Systemmysql.php on line 2

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘root’@’localhost’ (using password: YES) in C:xampphtdocsBus Ticket Reservation Systemmysql.php on line 3

    Could not connect: Access denied for user ‘root’@’localhost’ (using password: YES)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.