0% found this document useful (0 votes)
21 views

Dbms Online Bus Management System Project Report

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Dbms Online Bus Management System Project Report

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 30

lOMoARcPSD|36155470

DBMS Online bus management system project Report

information science (CMR Institute of Technology)

Scan to open on Studocu

Studocu is not sponsored or endorsed by any college or university


Downloaded by Mohammed Sameer Sammu ([email protected])
lOMoARcPSD|36155470

VISVESVARAYA TECHNOLOGICAL UNIVERSITY


Jnana Sangama, Belagavi-590018

A Database Management System Mini Project Report on


“ONLINE BUS RESERVATION SYSTEM”
Submitted in Partial fulfillment of the Requirements for the V Semester of the Degree of

Bachelor of Engineering in
Information Science & Engineering
By
PREETHIKA REDDY S (1CR21IS119)

PREETHI BHEEMASHANKAR TALAWAR (1CR21IS118)

KAVYA MANNE (1CR21IS076)

Under the Guidance of,


Prof Upasana Mahajan, Assistant Professor, Dept. of ISE

DEPARTMENT OF INFORMATION SCIENCE AND ENGINEERING


CMR INSTITUTE OF TECHNOLOGY
Affiliated to VTU, Approved by AICTE, Accredited by NBA and NAAC with “A++” Grade

ITPL MAIN ROAD, BROOKFIELD, BENGALURU-560037, KARNATAKA, INDIA

Downloaded by Mohammed Sameer Sammu ([email protected])


lOMoARcPSD|36155470

2023-24

CMR INSTITUTE OF TECHNOLOGY


Affiliated to VTU, Approved by AICTE, Accredited by NBA and NAAC with “A++” Grade
ITPL MAIN ROAD, BROOKFIELD, BENGALURU-560037, KARNATAKA, INDIA

DEPARTMENT OF INFORMATION SCIENCE AND ENGINEERING

CERTIFICATE
This is to certify that the Database Management System Project work entitled “Online Bus
Reservation System” has been carried out by Preethika Reddy S bonafide student of CMR
Institute of Technology, Bengaluru in partial fulfillment for the award of the Degree of
Bachelor of Engineering in Information Science and Engineering of the Visvesvaraya
Technological University, Belagavi during the year 2023-2024. It is certified that all
corrections/suggestions indicated for the Internal Assessment have been incorporated in the
report deposited in the departmental library. This Database Management System Project report
has been approved as it satisfies the academic requirements in respect of project work
prescribed for the said Degree.

Signature of Guide Signature of HOD


Prof Upasana Mahajan Dr Jagadishwari V
Assistant Professor Professor & HoD
Dept. of ISE, CMRIT Dept. of ISE, CMRIT
External Viva
Name of the Examiners Signature with date

1.

ii

Downloaded by Mohammed Sameer Sammu ([email protected])


lOMoARcPSD|36155470

2.

DECLARATION

We, the students of V semester from Department of Information Science and Engineering, CMR
Institute of Technology, Bangalore declare that the project work entitled "Online Bus
Reservation System" has been successfully completed under the guidance of Prof Upasana
Mahajan, Assistant Professor, Dept. of Information Science and Engineering, CMR Institute of
technology, Bengaluru. This project work is submitted in partial fulfillment of the requirements
for the award of the Degree of Bachelor of Engineering in Information Science and Engineering
during the academic year 2023-2024. The matter embodied in the project report has not been
submitted previously by anybody for the award of any degree or diploma to any university.

Place: Bangalore

Date: 08/03/2024

Team members:

PREETHIKA REDDY S (1CR21IS119)

PREETHI BHEEMASHANKAR
TALWAR (1CR21IS118)
KAVYA MANNE (1CR21IS076)

iii

Downloaded by Mohammed Sameer Sammu ([email protected])


lOMoARcPSD|36155470

ABSTRACT

The Online Bus Reservation System is a web-based platform designed to streamline the process
of booking bus tickets. It aims to provide passengers with a convenient and efficient way to
reserve seats on buses, eliminating the need to visit a physical ticket counter. Developed using
technologies such as React, Node.js, and MySQL, the system offers a secure and user-friendly
interface for both passengers and bus operators.

The implementation of the Online Bus Reservation System has shown promising results in terms
of enhancing the booking experience for passengers and improving the operational efficiency of
bus companies. By leveraging the power of online booking, the system has the potential to
revolutionize the bus ticketing industry, making bus travel more accessible and convenient for
all. Keywords: Online Bus Reservation, Ticket Booking, Passenger Experience, Operational
Efficiency, Accessibility, Convenience.

iv

Downloaded by Mohammed Sameer Sammu ([email protected])


lOMoARcPSD|36155470

ACKNOWLEDGEMENT

I take this opportunity to express my sincere gratitude and respect to CMR Institute of
Technology, Bengaluru for providing me a platform to pursue my studies and carry out the
Database Management System Project.
It gives me an immense pleasure to express my deep sense of gratitude to Dr. Sanjay
Jain, Principal, CMRIT, Bengaluru, for his constant encouragement.
I would like to extend my sincere gratitude to Dr. Jagadishwari V, HOD, Department of
Information Science and Engineering, CMRIT, Bengaluru, who has been a constant support and
encouragement throughout the course of this project.
I would like to thank my guide Prof Upasana Mahajan, Assistant Professor,
Department of Information Science and Engineering, for the valuable guidance throughout the
tenure of the project work.
I would also like to thank all the faculty members of Department of Computer Science
and Engineering who directly or indirectly encouraged me.
Finally, I thank my parents and friends for all the moral support they have given me
during the completion of this work.

Downloaded by Mohammed Sameer Sammu ([email protected])


lOMoARcPSD|36155470

TABLE OF CONTENTS

Contents Page No.


Certificate ii
Declaration iii
Abstract iv
Acknowledgement v
Table of contents vi
List of Figures vii
1. Introduction 1
2. System Requirements 3
3. Design 4
3.1 Schema Diagram
3.2 ER Diagram
4. Implementation 6
5. Interpretation of Result 22
6. Conclusion and Future Scope 27
7. References 28

vi

Downloaded by Mohammed Sameer Sammu ([email protected])


lOMoARcPSD|36155470

LIST OF FIGURES

Page No.
Fig 5.1 User Dashboard 23
Fig 5.2 User Finding Schedule 23
Fig 5.3 User Booking Schedule 24
Fig 5.4 Admin Login Page 24
Fig 5.5 Admin Schedule Access 25
Fig 5.6 Admin Location List Access 25

vii

Downloaded by Mohammed Sameer Sammu ([email protected])


lOMoARcPSD|36155470

Bus Reservation System

CHAPTER 1
INTRODUCTION

Our project is to computerize traveling company to manage data, so that all the transactions
become fast and there should not be any error in transaction like calculation mistake, bill
generation and other things. It replaces all the paper work. It keeps records of all bills also,
giving to ensure 100% successful implementation of the computerized Bus reservation
system . The online ticket generation would end the use of the hefty 1.5-kg ticket racks
carried by conductors. It would also end the practice of tearing out tickets and marking fare
stages. The Conductor would just have to key in the details about the fare stage and the
passenger details.
This project is modularized as the following:
• Management of Route
• Trip Details
• Bus Details
• Bus Ticketing
1. Management of Routes
This module include information about how we can Manage the routes for a particular bus
services so. In the case of Route management module we must know the details about route
number, fare stages and running time of the particular bus more over we want to manipulate
and store these information successfully.
2. Trip information
Each journey is identified as a trip. Each ticket must contain the trip no so that calculation of
passenger can be done easily. Here in this section we want to know start time and route no
of the bus this information can be manipulate and stored successfully.
3. Bus Detail
In this module all bus details are stored and manipulated, in bus detail module contains
minimum charge, type, depot, fare increment, bus number are manipulate and stored.
4. Bus Ticketing
Ticketing is the most important module in this Project which uses all the tables together and
calculates fare for the
passengers. Venting the tickets is done using the route number, bus type, beginning stop,
end stop, ticket number, fare price, date and time also we want to print the all these
information. In order to do the calculation data has to be pulled out from stops, bus, trip and
route.

Dept. of ISE, CMRIT 2023-2024 Page 1

Downloaded by Mohammed Sameer Sammu ([email protected])


lOMoARcPSD|36155470

Bus Reservation System

Objectives:
• To develop the Bus Management System using MYSQL, HTML, CSS, PHP
• To have an interactive interface with the user to allow them to comfortably book the
ticket from any part of the country

1.1 Scope of the project

The Online Bus Reservation System project is focused on designing and developing a
web-based platform for booking bus tickets and managing reservations. The system
will include the following key features and functionalities:

 User registration and login for passengers to create accounts and access the
reservation system.
 Browsing and searching for bus routes, schedules, and availability.
 Selecting seats and booking tickets for desired routes and dates.
 Managing bookings, including viewing and canceling reservations.
 Integration with payment gateways for secure online transactions.
 Providing notifications and alerts for booking confirmations, changes, and
cancellations.
The project will prioritize the usability and user experience of the reservation system to
ensure that passengers can easily navigate the platform and make bookings efficiently.
Additionally, the system will focus on security measures to protect passenger data and
payment information.

Overall, the Online Bus Reservation System aims to provide a comprehensive and user-
friendly platform for booking bus tickets online, enhancing the convenience and
accessibility of bus travel for passengers.

Dept. of ISE, CMRIT 2023-2024 Page 2

Downloaded by Mohammed Sameer Sammu ([email protected])


lOMoARcPSD|36155470

Bus Reservation System

CHAPTER 2

SYSTEM REQUIREMENTS
System requirements for a project detail the essential hardware and software resources
needed for development, deployment, and operation. It's crucial to thoughtfully consider
and plan these requirements, as incorrect choices can result in performance bottlenecks,
compatibility issues, or other problems that may affect the project's success.

Now, this method is intended in such a way that it takes fewer resources to figure out work
correctly.
It’s its type of minimum needs that we’d like to require care of:

 The system must be operated by some approved person as wrong hands will build it
happy-go-lucky.
 Rest is all up to the user’s usage can take care of the hardware.
 For security opposing anti-virus is suggested.

The system is made correctly, and all the testing is done as per the requirements. So, the rest
of the things depend on the user, and no one can harm the data or the software if the proper
care is done. All the attributes are working correctly, and if any error is found, then it can be
removed easily.
These consist of the hardware and software components of a computer system that are
required to install in order to use the software efficiently

BROWSER:
Google Chrome is used to run the web server locally. "Localhost" refers to the local
computer that a program is running on. Localhost is used in Web scripting languages like
PHP for defining Apache server the code should run from or where the medical database is
located

XAMPP:
XAMPP is a free and opensource cross-platform web server solution stack package
developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB
database, and interpreters for scripts written in the PHP and Perl programming languages.
XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P). It
is a simple, lightweight Apache distribution that makes it extremely easy for developers to
create a local web server for testing and deployment purposes. Everything needed to set up a
web server – server application (Apache), database (MariaDB), and scripting language
(PHP) – is included in an extractable file.

Dept. of ISE, CMRIT 2023-2024 Page 3

Downloaded by Mohammed Sameer Sammu ([email protected])


lOMoARcPSD|36155470

Bus Reservation System

CHAPTER 3
DESIGN
A schema diagram visually represents the structure of a database. It displays
tables, their columns, and the relationships between them. It helps in
understanding the organization and layout of the database. Schema diagrams are
essential for database design and documentation.

An ER diagram depicts entities and their relationships within a database. Entities


are represented as rectangles and relationships as lines connecting them. It
illustrates the logical structure of a database. ER diagrams aid in conceptualizing
and designing database

1.1 Schema Diagram

Bus

Name Bus_id

Sch_list

Bus_id From_loc To_loc Dept_time Eta Availability Price

Users

User_name Password

Loc

T_name City State

Booked

ID Name Schd_id Ref_no Date_update Status Qty

Dept. of Page 4
lOMoARcPSD|36155470

Bus Reservation System

1.2 E-R Diagram

Dept. of ISE, CMRIT 2023-2024 Page 5


lOMoARcPSD|36155470

Bus Reservation System

CHAPTER-4
IMPLEMENTATION

4.1 Implementation Procedure: -


The implementation of a bus reservation system involves :-

Requirement Analysis:
 Understanding the needs of the bus reservation system, including
functionalities like booking, cancellation, seat availability, route
management, etc.

Database Design:
 Identify entities: Bus, Route, Schedule, Passenger, Reservation.
 Define attributes for each entity.
 Determine relationships between entities (e.g., a bus has multiple schedules,
a passenger can make multiple reservations).
 Normalize the database design to reduce redundancy and improve efficiency.

Create Database Schema:


 Implement the designed database structure using SQL.
 Use CREATE TABLE statements to define tables for each entity.
 Define primary and foreign key constraints to establish relationships between
tables.

Data Population:
 Insert sample data into the tables to test functionalities.
 Populate tables such as Bus, Route, Schedule with realistic data.

Implement Functionalities:
 Write SQL queries and stored procedures to handle core functionalities like
booking a seat, cancelling a reservation, checking seat availability, etc.
 Create procedures for searching routes, displaying available seats, and
making reservations.
 Implement error handling and validation mechanisms to ensure data
integrity.

Dept. of ISE, CMRIT 2023-2024 Page 6


lOMoARcPSD|36155470

Bus Reservation System

Testing:
 Perform thorough testing of the system to ensure all functionalities work as
expected.
 Test scenarios like booking seats, cancelling reservations, handling conflicts,
etc.
 Conduct both unit testing (individual components) and integration testing
(interaction between components).

Deployment:
 Deploy the system to the intended environment, whether it's a local server or
a cloud-based solution.
 Configure access controls and security measures to protect the database.

Maintenance and Updates:


 Regularly maintain the system by fixing bugs, optimizing performance, and
making updates based on user feedback or changing requirements.
 Monitor database performance and scalability to ensure smooth operation as
the system grows.

4.2 Modules Used:

The modules used are:-

 User Management Module: Handles user accounts and login.


 Bus Management: Manages bus details and routes.
 Reservation Module: Allows users to book seats.
 Cancellation Module: Lets users cancel bookings.
 Availability: Checks seat availability.
 Reporting Module: Generates system usage reports.
 Payment Module: Processes reservations payments securely.
 Admin Dashboard Module: Provides admins with system management tools.
 Feedback: Allows users to give input on their experience.

Dept. of ISE, CMRIT 2023-2024 Page 7


lOMoARcPSD|36155470

Bus Reservation System

4.1 Database Code:

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";


START TRANSACTION;
SET time_zone = "+00:00";

-- Database: `bus_booking`
-- Table structure for table `booked`

CREATE TABLE `booked` (


`id` int(30) NOT NULL,
`schedule_id` int(30) NOT NULL,
`ref_no` text NOT NULL,
`name` varchar(250) NOT NULL,
`qty` int(11) NOT NULL,
`status` tinyint(1) DEFAULT 0 COMMENT '1=Paid, 0- Unpaid',
`date_updated` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE
current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- Dumping data for table `booked`

INSERT INTO `booked` (`id`, `schedule_id`, `ref_no`, `name`, `qty`, `status`,


`date_updated`) VALUES
(1, 1, '202009091727', 'John Smith', 1, 1, '2020-09-09 10:29:44'),
(2, 1, '202009091626', 'Sample', 2, 0, '2020-09-09 09:34:28'),
(3, 1, '202009099953', 'asdasd asdasd', 27, 0, '2020-09-09 09:53:09');

-- Table structure for table `bus`

CREATE TABLE `bus` (


`id` int(30) NOT NULL,
`name` varchar(250) NOT NULL,
`bus_number` varchar(50) NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '0 = inactive, 1 = active',
`date_updated` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE
current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- Dumping data for table `bus`

Dept. of ISE, CMRIT 2023-2024 Page 8


lOMoARcPSD|36155470

Bus Reservation System

INSERT INTO `bus` (`id`, `name`, `bus_number`, `status`, `date_updated`) VALUES (3,
'Economy', '5001', 1, '2020-09-08 13:54:42');

-- Table structure for table `location`

CREATE TABLE `location` (


`id` int(30) NOT NULL,
`terminal_name` text NOT NULL,
`city` varchar(250) NOT NULL,
`state` varchar(250) NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '0= inactive , 1= active',
`date_updated` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE
current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- Dumping data for table `location`

INSERT INTO `location` (`id`, `terminal_name`, `city`, `state`, `status`, `date_updated`)


VALUES
(1, 'Sample Terminal Name', 'Sample City', 'Sample', 1, '2020-09-08 14:23:36'),
(2, 'South Sample Terminal', 'South City', 'Sample', 1, '2020-09-08 14:33:04');

-- Table structure for table `schedule_list`

CREATE TABLE `schedule_list` (


`id` int(30) NOT NULL,
`bus_id` int(30) NOT NULL,
`from_location` int(30) NOT NULL,
`to_location` int(30) NOT NULL,
`departure_time` datetime NOT NULL,
`eta` datetime NOT NULL,
`status` tinyint(4) NOT NULL DEFAULT 1,
`availability` int(11) NOT NULL,
`price` text NOT NULL,
`date_updated` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE
current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- Dumping data for table `schedule_list`

Dept. of ISE, CMRIT 2023-2024 Page 9


lOMoARcPSD|36155470

Bus Reservation System

INSERT INTO `schedule_list` (`id`, `bus_id`, `from_location`, `to_location`,


`departure_time`, `eta`, `status`, `availability`, `price`, `date_updated`) VALUES
(1, 3, 1, 1, '2020-09-11 16:00:00', '2020-09-12 02:00:00', 1, 30, '250', '2020-09-08
07:49:57'),
(2, 3, 2, 1, '2020-09-12 02:45:00', '2020-09-12 05:00:00', 1, 30, '250', '2020-09-08
07:37:52');
-- Table structure for table `users` CREATE TABLE `users` (
`id` int(30) NOT NULL,
`name` varchar(150) NOT NULL,

`user_type` tinyint(1) NOT NULL DEFAULT 1 COMMENT '1 = admin, 2= faculty , 3 =


student',
`username` varchar(25) NOT NULL,
`password` varchar(25) NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT 1 COMMENT ' 0 = incative , 1 = active',
`date_updated` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE
current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- Dumping data for table `users`

INSERT INTO `users` (`id`, `name`, `user_type`, `username`, `password`, `status`,


`date_updated`) VALUES
(1, 'Administrator', 1, 'admin', 'admin123', 1, '2020-09-08 16:42:28'),
(2, 'John Smith', 1, 'jsmth', 'admin123', 1, '2020-09-08 16:13:53');

-- Indexes for table `booked`


ALTER TABLE `booked`
ADD PRIMARY KEY (`id`);

-- Indexes for table `bus`


ALTER TABLE `bus`
ADD PRIMARY KEY (`id`);

-- Indexes for table `location`

Dept. of ISE, CMRIT 2023-2024 Page 10


lOMoARcPSD|36155470

Bus Reservation System

ALTER TABLE `location`


ADD PRIMARY KEY (`id`);

-- Indexes for table `schedule_list`

ALTER TABLE `schedule_list`


ADD PRIMARY KEY (`id`);

-- Indexes for table `users`


ALTER TABLE `users`
ADD PRIMARY KEY (`id`);
COMMIT;

4.2 INDEX.PHP:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Bus Booking Management System</title>
</head>
<body>
<?php session_start() ?>
<?php header('index.php?page=home'); include 'header.php'; ?>
<?php if(isset($_SESSION['login_id'])) include 'admin_navbar.php'; else include
'navbar.php'; ?>

<div class="toast" id="alert_toast" role="alert" aria-live="assertive" aria-atomic="true">


<div class="toast-body text-white">
</div>
</div>
<?php

if(isset($_GET['page']) && !empty($_GET['page']))


include($_GET['page'].'.php'); else
include('home.php');
?>
<div class="modal fadeIn" tabindex="-1" id="uni_modal">
<div class="modal-dialog">
<div class="modal-content">

Dept. of ISE, CMRIT 2023-2024 Page 11


lOMoARcPSD|36155470

Bus Reservation System

<div class="modal-header">
<h5 class="modal-title"></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary submit" onclick="$('#uni_modal
form').submit()">
<?php echo isset($_SESSION['login_id']) ? 'Save' : 'Find' ?>
</button>
<button type="button" class="btn btn-secondary" data- dismiss="modal">Cancel</button>
</div>
</div>
</div>
</div>
<div class="modal fadeIn" tabindex="-1" id="confirm_modal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Confirmation</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" id="confirm"
onclick="">Continue</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
</div>
</div>
</div>
</div>
<div class="modal fadeIn" tabindex="-1" id="book_modal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"></h5>

Dept. of ISE, CMRIT 2023-2024 Page 12


lOMoARcPSD|36155470

Bus Reservation System

<button type="button" class="close" data-dismiss="modal" aria-label="Close">


<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
</div>
</div>
</div>
</div>
</script>
</html>

4.3 ADMIN.PHP:

<!DOCTYPE html>
<html>
<head>
<?php include('header.php') ?>
<?php
// session_start();
// if(isset($_SESSION['login_id'])){
// header('Location:home.php');
// }
?>
<title>Admin Login |Bus Booking</title>
</head>
<style> body {
background-image: url(./assets/img/bus1.jpg); height: 96vh;
background-position: center; background-repeat: no-repeat; background-size: cover;
}
</style>
<body id='login-body' class="bg-light">
<div class="card col-md-4 offset-md-4 mt-4">
<div class="card-header-edge text-white">
<strong>Login</strong>
</div>
<div class="card-body">
<form id="login-frm">
<div class="form-group">
<label>Username</label>
<input type="username" name="username" class="form-control">
</div>
Dept. of ISE, CMRIT 2023-2024 Page 13

Downloaded by Mohammed Sameer Sammu ([email protected])


lOMoARcPSD|36155470

Bus Reservation System

<div class="form-group">
<label>Password</label>
<input type="password" name="password" class="form-control">
</div>
<div class="form-group text-right">
<button class="btn btn-primary btn-block" name="submit">Login</button>
</div>
</form>
</div>
</div>
</body>
<script>
$(document).ready(function(){
$('#login-frm').submit(function(e){ e.preventDefault()
$('#login-frm button').attr('disable',true)
$('#login-frm button').html('Please wait...')
$.ajax({ url:'./login_auth.php',
method:'POST', data:$(this).serialize(), error:err=>{ console.log(err)
alert('An error occured');
$('#login-frm button').removeAttr('disable')
$('#login-frm button').html('Login')
},
success:function(resp){ if(resp == 1){
location.replace('index.php?page=home')
}
else
{
alert("Incorrect username or password.")
$('#login-frm button').removeAttr('disable')
$('#login-frm button').html('Login')
}
}
})
})
})
</script>
</html>

Dept. of ISE, CMRIT 2023-2024 Page 14


lOMoARcPSD|36155470

Bus Reservation System

CHAPTER 5
INTERPRETATION OF RESULT

Interpreting the results in a bus reservation system in a DBMS involves understanding the
data retrieved from the database based on user queries or system operations.

User Actions:
 Success: the user's request was completed.
 Error: the system couldn't complete the user's request.

Bus and Route Management:


 Success: Changes to buses or routes are made.
 Error: There was a problem making changes, and an error message explains what
went wrong.

Reservation and Booking:


 Success: Seats were booked successfully.
 Error: Booking failed due to an issue like no Availability of seats etc .

Cancellation:
 Success: Reservations were canceled successfully.
 Error: There was an issue canceling the reservation, like an invalid ID.

Seat Availability:
 Success: Shows available seats for selected buses and dates.
 No Availability: No seats are available for the selected criteria.

Payment Processing:
 Success: Payment was successful.
 Error: Payment failed due to reasons like a declined card or connection problem.

Reporting:
 Success: Reports provide useful insights into system usage.
 Interpretation: Admins use these reports to understand system performance and
make decisions.

Dept. of ISE, CMRIT 2023-2024 Page 15


lOMoARcPSD|36155470

Bus Reservation System

Features of the Project:

 Online Admin Dashboard


Home, Schedule, Booklist, Maintenance, Bust list, Location List, User,
Manage Account.

 Schedule
Show Entries, Search, Id Numbers, Date, Bus, Location, Departure, ETA,
Availability, Price, Action, Delete, and Edit.

 Booked List
ID Number, Ref Number, Full Name, Quantity, Amount, Status, Show
Entries, Search, and Edit.

 Bus List
ID Number, Bus Number, Bus Name, Show Entries, Edit, Delete, and
Search.

 Location List
ID Number, Terminal, City, Province State, Show Entries, Edit, Delete,
and Search.

 User
ID Number, Name, User Name, Edit, Delete, Show Entries, and Search.

 User Dashboard Schedule


ID Number, Date, Bus, Location, Departure, ETA, Availability, Price,
Book, Show Entries, and Search.

Dept. of ISE, CMRIT 2023-2024 Page 16


lOMoARcPSD|36155470

Bus Reservation System

OUTPUT:

FIG 5.1: USER DASHBOARD:

FIG:5.2 USER FINDING SCHEDULE:

Dept. of ISE, CMRIT 2023-2024 Page 17


lOMoARcPSD|36155470

Bus Reservation System

FIG 5.3: USER BOOKING SCHEDULE:

FIG 5.4: ADMIN LOGIN PAGE:

Dept. of ISE, CMRIT 2023-2024 Page 18


lOMoARcPSD|36155470

Bus Reservation System

FIG 5.5: ADMIN SCHEDULE ACCESS:

FIG 5.6: ADMIN LOCATION LIST ACCESS:

Dept. of ISE, CMRIT 2023-2024 Page 19


lOMoARcPSD|36155470

Bus Reservation System

CHAPTER 6
CONCLUSION AND FUTURE SCOPE

CONCLUSION

In conclusion, the bus reservation system mini project offers a robust solution for managing
bus ticket reservations effectively. Through its user-friendly interface and streamlined
booking process, it enhances the overall experience for both customers and administrators.
By automating reservation tasks, reducing errors, and providing timely information, the
system improves operational efficiency and customer satisfaction. As a result, it stands as a
testament to the power of technology in modernizing and optimizing transportation services.
Further refinement and adaptation to emerging technologies will ensure its continued
relevance and competitiveness in the dynamic travel industry.

FUTURE SCOPE

 Integration with online payment gateways for seamless online transactions.


 Implementation of advanced features such as seat selection, real-time tracking of
buses, and feedback mechanisms.
 Integration with mobile platforms through dedicated applications for enhanced
accessibility.
 Incorporation of data analytics to analyze booking patterns, optimize routes, and
improve operational efficiency.
 Expansion of the system to support multi-modal transportation, including integration
with other modes like trains or flights.
 Enhancement of security features to ensure the safety of user data and transactions.

Dept. of ISE, CMRIT 2023-2024 Page 20


lOMoARcPSD|36155470

Bus Reservation System

REFERENCES

1. https://www.campcodes.com/

2. https://www.google.com/

3. https://www.github.com/

4. https://www.geeksforgeeks.org

Dept. of ISE, CMRIT 2023-2024 Page 21


lOMoARcPSD|36155470

Bus Reservation System

Dept. of ISE, CMRIT 2023-2024 Page 22

Downloaded by Mohammed Sameer Sammu ([email protected])

You might also like