Edited Visvesvaraya Technological University - HH
Edited Visvesvaraya Technological University - HH
BELAGAVI-590018
Submitted by:
Anisha(3GN22CS080)
Amandeep(3GN22CS094)
CERTIFICATE
This to certify that mini project report entitled”RAILWAY RESEVATION SYSTEM” is a
Bonafide work carried out by Anisha(3GN22CS080),Amandeep(3GN22CS094).In
partial fulfillment of the requirements for 6 th semester for the award of Degree Bachelor of
Engineering in COMPUTER SCIENCE & ENGINEERING by VIVESVARAYA
TECHNOLOGICAL UNIVERSITY,BELAGAVI during the year 2023-2024.
The mini project report has been approved as it satisfies the academic requirements in
respect of mini project work prescibed for the Bachelor of Engineering Degree
---------------------- -----------------------------
Prof: V.S.Padmini Prof: Dr. Anuradha S.
ACKNOWLEDGEMENT
Anisha (3GN18CS034)
Amandeep(3GN18CS034)
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401
ABSTRACT
The mini project report on “RAILWAY RESERVATION SYSTEM” is the outcome of
guidance, moral support and devotion bestowed on us throughout our work. For this we
acknowledge and express our profound sense of gratitude and thanks to everybody who
have been a source of inspiration during the project work. First and foremost, we offer our
sincere phrases of thanks with innate humility to our Principal Dr. SURESH R REDDY
who has been a constant source of support and encouragement. We feel deeply indebted to
our H.O.D. Dr. ANURADHA A, for help provided from the time of inception till date. I
would take this opportunity to acknowledge our Guide Prof.V.S.PADMINI, who not only
stood by us as a source of inspiration, but also dedicated her time to enable us to present
the mini project on time. We would be failing in endeavour, if we do not thank our parents
who have helped us in every aspect of our life.
Anisha (3GN18CS034)
Amandeep(3GN18CS034)
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401
INTRODUCTION
The railway reservation system facilitates the passengers to enquiry about the trains available
on the basis of source and destination, booking and cancellation of tickets, enquiry about the
status of the booked ticket, etc. The aim of case study is to design and develop a data base
maintaining records of different trains, train status and passengers. This project contains
introduction to the railways reservation system. It is the computerized system of reserving the
seats of train seats in advance. It is mainly used for a long route. Online reservation has made
the process for the reservation of seats very much easier than ever before. In our country
India, there are number of counters for the reservation of the seats and one can easily make
reservations and get tickets. Railway reservation system, has described above, can lead to
error free, secure, reliable and fast management system. It can assist the user to concentrate
on their other activities rather to concentrate on the record keeping. Thus it will help
organization in better utilization of resources.Administrator of the project, with the help of a
password, can enter new train record, display all train records, modify train records and
delete train records. The record of train includes its number, name, source, destination, and
days on which it is available, whereas record of train status includes dates for which tickets
can be booked, total number of seats available, and number of seats already booked.
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401
1 INTRODUCTION
2 SYSTEM REQUIREMENT
3 TECHNOLOGY
4 SYSTEM DESIGN
SYSTEM IMPLEMENTATION
5
6
PROGRAM CODE
7 RESULTS
CONCLUSION
8
9 REFERENCES
TABLE OF CONTENTS
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401
CHAPTER 1
INTRODUCTION
1.1 : Introduction
1.2 : Purpose
The purpose of this software is to describe the Railway Reservation System which
provides the rail timing details, reservation, enquiry, billing and cancellation on various
types of reservation namely: -
Confirm reservation for confirm seat
Reservation against cancellation
PNR generation
1.4 :Objective
Our project introduces railway reservation system with an objective to make the reservation
system more efficient, easier and fast. This project explores how computer technology can be
used to solve the problem of user.
This project is dedicated to model existing railway reservation systems that aim at
development of Railway Reservation System that facilitates the railway customer to
manage their reservations andthe railway administrator to modify the backend database in
a user-friendly manner.
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401
CHAPTER 2
SYSTEM REQUIREMENT
Compiler :XAMPP
CHAPTER 3
TECHNOLOGY
3.1 :PHP:-
PHP files can contain text, HTML, CSS, JavaScript, and PHP code
PHP code is executed on the server, and the result is returned to the browser as plain
HTML
PHP files have extension ".php"
3.2 :XAMPP:-
XAMPP is regularly updated to the latest releases of Apache, MariaDB, PHP and Perl.
It also comes with a number of other modules, including OpenSSL, phpMyAdmin, Media
Wiki,Joomla, WordPress and more. Self-contained, multiple instances of XAMPP can exist
on a single computer, and any given instance can be copied from one computer to
another.XAMPP is offered in both a full and a standard version (Smaller version).
3.3 :CSS: -
CSS stands for Cascading Style Sheets
CSS describes how HTML elements are to be displayed on screen, paper, or in other
media
CSS saves a lot of work. It can control the layout of multiple web pages all at once
External stylesheets are stored in CSS files
3.4 :MYSQL: -
MySQL is a relational database management system
MySQL is open-source
MySQL is free
MySQL is ideal for both small and large applications
MySQL is very fast, reliable, scalable, and easy to use
MySQL is cross-platform
MySQL is compliant with the ANSI SQL standard
MySQL was first released in 1995
MySQL is developed, distributed, and supported by Oracle Corporation
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401
CHAPTER 4
SYSTEM DESIGN
4.1 :ER-DIAGRAM: -
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401
Passenger: -
Ticket: -
Payment: -
Train Details: -
Train no Train name Compartment ReservationRAC, Train half at station Reservation chart
waiting
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401
Technical Supervisor: -
CHAPTER 5
Requirement analysis for web applications encompasses three major tasks: formulation,
requirements gathering and analysis modelling. During formulation, the basic motivation and
goals for the web application are identified, and the categories of users are defined. In the
requirements gathering phase, the content and functional requirements are listed and
interaction scenarios written from end-user’s point-of-view are developed. This intent is to
establish a basic understanding of why the web application is built, who will use it, and what
problems it will solve for its users.
5.1 Scope
The scope of this project is limited to an engineering college. This project aims to
maintain passenger and train information. Other scopes of this project are as follows
Product Features
The system provides an extensive set of features catering to different user classes.
Passengers can register, book tickets, receive real-time updates, and provide feedback.
Administrators can manage user accounts, train schedules, and receive real-time
updates from conductors.
Conductors can validate tickets and report train status.
Key features include user authentication, real-time tracking, flexible booking options,
and comprehensive user management capabilities for administrators.
Following are some of the main system features that are necessary for the system.
o
5.2.3 Functional Requirements:
1. The system shall prompt the user to provide Name, Email-id, Password, Contact Number,
Date of Birth, and CNIC Number during the registration process.
2. Account creation shall not proceed unless all required fields are filled.
3. The system shall validate the provided information before registering the user.
4. Users must agree to the terms and conditions to complete the registration.
5. Users must be 18 years or older to create an account.
5.3.1 Description: Allows users to check train schedules, including stations, arrival/departure
times, and real-time seat availability.
5.4.1 Description: Enables users to book or reserve seats by entering destination, departure
date, and time, including selecting a preferred train, seat, fare calculation, and initiating online
payment.
5.6.1 Description: Allows users to track the real-time location of the booked train, stations
passed, and provides updates on any delays.
o Response: System displays the current location of the train, stations passed, and any
delays.
1. Users shall have the ability to track the real-time location of the booked train.
2. The system shall display the stations the train has passed through.
3. Users shall receive updates on any delays in the arrival of the train.
5.7.1 Description: Provides users with the ability to view past bookings and modify existing
2. Users shall be able to modify bookings, including changing departure times and
seats.
3. Users shall be able to cancel a booking and book a new ticket if desired.
CHAPTER 6
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401
6.1 TABLES
TABLE: A table is collection of related data held in a table format within a database. It
contains columns and rows. In relational database, a table is set of data elements using a
model of vertical columns and horizontal
Creation of table
6.2 QUERIES
Cancel a Booking:
CHAPTER 7
7.3 Dashboard
CONCLUSION
Practical Training is a very important part of the curriculum as it strengthens the
conceptsand enhances knowledge about the practical implementation of all the theory
concepts,we have learnt so far in different subjects. This project is used to keep a track on
reservingthe seat to the passenger. It helps managing the system very efficiently and
conveniently.Finally, this gives us a lot of mental satisfaction that the project we have worked
upon isa real time project, which will be installed at the customer site after some more
sessionof regress testing.Although the project work has been done in a detailed manner but
due to the constraint of time, we could not include some more features we wanted to in these
2 modules of implementation. We left these features as a part of the future development. As
soon as we’ll get time we’ll try to add them to my project.
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401
REFERENCE
o www.w3school.com
o www.tutorialspoint.com
o www.geeksforgeeks.com
o www.irctc.co.in
o www. southernrailway.org
o www.wikipedia.org
o www.indianrailways.gov.in