0% found this document useful (0 votes)
64 views32 pages

Movie Ticket Management System

The Movie Ticket Management System is an application for the project objective is to book cinema tickets in online. The Ticket Reservation System is an Internet based application that can be accessed throughout the Net and can be accessed by anyone who has a net connection. This application will reserve the tickets. This online ticket reservation system provides a website for a cinema hall where any user of internet can access it. User is required to login to the system and needs a credit card f

Uploaded by

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

Movie Ticket Management System

The Movie Ticket Management System is an application for the project objective is to book cinema tickets in online. The Ticket Reservation System is an Internet based application that can be accessed throughout the Net and can be accessed by anyone who has a net connection. This application will reserve the tickets. This online ticket reservation system provides a website for a cinema hall where any user of internet can access it. User is required to login to the system and needs a credit card f

Uploaded by

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

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

“Jnana Sangama”, Belgaum, Karnataka – 590018

A Mini Project
On

“MOVIE TICKET MANAGEMENT SYSTEM”


Submitted in partial fulfillment of requirements for the
DBMS Laboratory with Mini Project
Bachelor of Engineering
In
Information Science & Engineering

Submitted By

BIBI SARA SHARIFF 4MH19IS017

AISHWARYA.K 4MH19IS005

Under the Guidance


of
Dr. SHARATH KUMAR Y H
Head of the department
Dept. of IS&E
MIT, Mysore.

2021-2022
DEPARTMENT OF INFORMATION SCIENCE & ENGINEERING
MAHARAJA INSTITUTE OF TECHNOLOGY MYSORE
BELAVADI, S.R. PATNA (T), MANDYA (D) – 571438.

I
MAHARAJA INSTITUTE OF TECHNOLOGY MYSORE
Belawadi, S.R. Patna (T), Mandya (D) – 571438
DEPARTMENT OF INFORMATION SCIENCE & ENGINEERING

CERTIFICATE

This is to certify that the mini project work entitled “MOVIE TICKET
MANAGEMENT SYSTEM” is a bonafide work carried out by BIBI SARA SHARIFF
[4MH19IS017] and AISHWARYA.K [4MH19IS005] in partial fulfilment for the DBMS
Laboratory with Mini Project (18CSL58) prescribed by the Visvesvaraya Technological
University, Belagavi during the year 2021-2022 for the fifth semester B.E in Information
Science and Engineering. The mini project report has been approved as it satisfies the academic
requirements.

Signature of Guide Signature of HOD

Dr. SHARATH KUMAR Y H Dr. SHARATH KUMAR Y H


Professor & Head Dept of IS&E Professor & Head, Dept of IS&E
MIT Mysore
MIT Mysore

Name of the examiners External Signature with Date


Viva
1.

2.

II
ACKNOWLEDGEMENT

We sincerely owe our gratitude to all the persons who helped and guided us in completing this
mini project work.

We are thankful to Dr. B.G. Naresh Kumar, Principle, Maharaja Institute of Technology
Mysore, for having supported us in our academic endeavors.

We are extremely thankful to Dr. SHARATH KUMAR Y.H, Professor & Head, Department
of Information Science and Engineering, for his valuable support and his timely inquiries into
the progress of the work.

We are obliged to all teaching and non-teaching staff members of Department of


Information Science and Engineering, for the valuable information provided by them in their
respective field’s. We are grateful for their co-operation during the period of our mini project.

BIBI SARA SHARIFF (4MH19IS017)


AISHWARYA. K (4MH19IS005)

III
ABSTRACT

The Movie Ticket Management System is an application for the project objective is to
book cinema tickets in online. The Ticket Reservation System is an Internet based application
that can be accessed throughout the Net and can be accessed by anyone who has a net
connection. This application will reserve the tickets.

This online ticket reservation system provides a website for a cinema hall where any
user of internet can access it. User is required to login to the system and needs a credit card for
booking the tickets. Tickets can be collected at the counter and Watching movies with family
and friends in theatres is one of the best medium of entertainment after having a hectic
schedule. But all this excitement vanishes after standing in hours in long queues to get tickets
booked.

The website provides complete information regarding currently running movies on all
the screens with details of show timings, available seats. Ticket reservations are done using
credit card and can be cancelled if needed. Our online tickets reservation system is one of the
best opportunities for those who cannot afford enough time to get their tickets reserved
standing in long queues. People can book tickets online at any time of day or night. Our
reservation system also provides option to cancel the tickets which are reserved previously.

Throughout the project the focus has been on


presenting information and comments in an easy and
intelligible manner. The project is very useful for those who
want to know and learn more about how the Movie Ticket
Management System works.

IV
TABLE OF CONTENTS
1. INTRODUCTION

1.1 Aim of the Project


1.2 Overview of the Project
1.3 Outcome of the Project
1.4 Software Requirements

2. SYSTEM ANALYSIS AND DESIGN

2.1 System Analysis


2.2 Data Flow Diagram
2.3 E-R Diagram
2.4 Tables
2.5 Schema Diagram

3. IMPLEMENTATION

3.1 Table Description


3.2 Software Requirements
3.3 Normalization
3.4 Triggers
3.5 Assertions
3.6 Views

4. RESULT ANALYSIS

4.1 Snap Shots


4.2 Discussion
4.3 Testing

5. CONCLUSION AND FUTURE WORK

5.1 Conclusion
5.2 Future Enhancement

6. REFERENCE
V
Movie Ticket Management System 2021-22

Chapter-01
INTRODUCTION
1.1 Aim of the Project

The main aim of this Movie Ticket is online booking tickets for various movies in registered
theatres by the users.

1.2 Overview of the Project

The project objective is to book cinema tickets in online. The Ticket Reservation System
is an Internet based application that can be accessed throughout the Net and can be accessed by
anyone who has a net connection. This application will reserve the tickets. This online ticket
reservation system provides a website for a cinema hall where any user of internet can access it.
User is required to login to the system and needs a credit card for booking the tickets. Tickets
can be collected at the counter and Watching movies with family and friends in theatres is one of
the best medium of entertainment after having a hectic schedule. But all this excitement vanishes
after standing in hours in long queues to get tickets booked. The website provides complete
information regarding currently running movies on all the screens with details of show timings,
available seats. Ticket reservations are done using credit card and can be cancelled if needed.
Our online tickets reservation system is one of the best opportunities for those who cannot afford
enough time to get their tickets reserved standing in long queues. People can book tickets online
at any time of day or night. Our reservation system also provides option to cancel the tickets
which are reserved previously.

1.3 Outcome of the Project


Ticket booking of tickets through various application and websites helps the viewers, hence the
viewers saving their time. On a touch of figure various number of seats, the date preferred and
the movie of their choice can be booked easily.

1.4 Software Requirements


 Operating System – Windows 7/8/10/11

 Front End – HTML, CSS

 Back End – mySQL

 Tools – Xampp Server

Dept. of IS&E, MIT Mysore Page 1


Movie Ticket Management System 2021-22

Chapter 02

SYSTEM ANALYSIS AND DESIGN

2.1 System Analysis

System Analysis is a separation of a substance into parts for study and their implementation
and detailed examination. Before designing any system it is important that the nature of the
business and the way it currently operates are clearly understood. The detailed examination
provides the specific data required during designing in order to ensure that all the client's
requirements are fulfilled. The investigation or the study conducted during the analysis phase is
largely based on the feasibility study. Rather it would not be wrong to say that the analysis and
feasibility phases overlap. High-level analysis begins during the feasibility study. Though
analysis is represented as one phase of the system development life cycle (SDLC), this is not
true. Analysis begins with system initialization and continues until its maintenance. Even after
successful implementation of the system, analysis may play its rote for periodic maintenance and
up gradation of the system. One of the main causes of project failures is inadequate
understanding, and one of the main causes of inadequate understanding of the requirements is
the poor planning of system analysis.

2.2 Data Flow Diagram

A Data Flow Diagram (DFD) is a traditional visual representation of the information


flows within a system. A neat and clear DFD can depict the right amount of the system
requirement graphically. It can be manual, automated, or a combination of both.

It shows how data enters and leaves the system, what changes the information, and
where data is stored.

The objective of a DFD is to show the scope and boundaries of a system as a whole.

It may be used as a communication tool between a system analyst and any person who

plays a part in the order that acts as a starting point for redesigning a system. The DFD is

also called as a data flow graph or bubble chart.

Dept. of IS&E, MIT Mysore Page 2


Movie Ticket Management System 2021-22

Admin User

Manage Theatre

Manage Upcoming Movies


Login to Check
system role of Manage Add Movies
access

Manage Add Show

Check Manage
Credentials Modules Manage View Movies

Manage Today’s Shows

Manage View Show Manage Today’s Bookings

2.3 Entity Relationship Diagram

ER-Diagram is a pictorial representation of data that describes how data is communicated


and related to each other. Any object, such as entities, attributes of an entity, sets of relationship,
and other attributes of relationship, can be characterized with the help of the ER diagram.

Dept. of IS&E, MIT Mysore Page 3


Movie Ticket Management System 2021-22

password name address


username
id
1 M
Admin manages Theater

1 M
M

manages has
has
1 M Ticket M
M Screen name Screen id
Book id
Booking screens

no of seats amount
seats t id
date M
M
manages
has

M Expiration date

M has
Card no payment

User id Email M
Showtime id name
id CVV

customer
showtime

name age Start time


Screen id
t id
Phone 1 Movie id cast

1
has movie

Movie name description

Release date

Dept. of IS&E, MIT Mysore Page 4


Movie Ticket Management System 2021-22

2.4 TABLES

Booking

Book_id Ticket_id T_id User_id Show_id Screen_id No_seats amount Ticket_date date status

Contact

Contact_id name email mobile Subject

Login

id User_id username password User_type

Movie

Movie_id T_id Movie_nam cast desc Release_date image Video_url status


e

News

News_id name cast News_date description attachment

Registration

User_id name email phone age gender

Screens

Screen_id T_id Screen_name seats charge

Dept. of IS&E, MIT Mysore Page 5


Movie Ticket Management System 2021-22

Shows

S_id St_id Theatre_id Movie_id Start_date status r_status

Show_time

St_id Screen_id name Start_time

Theatre

id name address place state pin

2.5 Schema Diagram

The design of the database is called Schema. This tells us about the structural view of the
database. It gives us an overall description of the database. A database schema defines how the
data is organized using the schema diagram. A schema diagram is a diagram which contains
entities and the attributes that will define that schema. A schema diagram only shows diagram
only shows us the database design. It does not show the actual data of the database.

Dept. of IS&E, MIT Mysore Page 6


Movie Ticket Management System 2021-22

Bookings

book_id ticket_i t_id user_id show_id screen_id no_seat amount ticket_date date status
d

Contact

contact_id name email mobile subject

Login

id user_id username password user_type

Movie

movie_i t_id movie_name cast desc release_date image video_url status


d

News

news_id name cast news_date description attachment

Registration

user_id name email phone age gender

Screens

screen_id t_id screen_name seats charge

Shows

s_id st_id theatre_id movie_id start_date status r_status

Show_time

Dept. of IS&E, MIT Mysore Page 7


Movie Ticket Management System 2021-22
st_id screen_id name start_time

Theatre

id name address place state pin

Chapter 03
IMPLEMENTATION
3.1Table Descriptor

Fig 3.1.1 Movie Ticket Management tables from database

Fig 3.1.2 Booking table from database

Dept. of IS&E, MIT Mysore Page 8


Movie Ticket Management System 2021-22

Fig 3.1.3 Contact table

Fig 3.1.4 Login table

Fig 3.1.5 Movie table

Dept. of IS&E, MIT Mysore Page 9


Movie Ticket Management System 2021-22

Fig 3.1.6 New table

Fig 3.1.7 Registration table

Fig 3.1.8 Screens table

Dept. of IS&E, MIT Mysore Page 10


Movie Ticket Management System 2021-22

Fig 3.1.9 Show table

Fig 3.1.10 Show time table

Dept. of IS&E, MIT Mysore Page 11


Movie Ticket Management System 2021-22
Fig 3.1.11 Theatre table

3.2Software Description:
3.2.1 XAMPP (Php My Admin)
Php My Admin can manage a whole MySQL server as well as single database.

To accomplish this later you’ll need a properly set up MySQL user who can read/write only the
desired database. It’s up to you to look up the appropriate part in MySQL manual

 Browse and drop databases, tables, views, columns and indexes

 Create, copy, drop, rename and alter databases, tables, column and indexes

 Maintenance server, database and tables, with proposal on server configuration

 Execute, edit and bookmark any SQL-statement, even batch queries

 Load text files into tables

 Create and read dumps of tables

 Export data to various formats: CSV, XML, PDE, ISO/IEC 26300- Open Document
Text and Spread sheet, Word and LATEX Formats

 Import data and MySQL structures from Open Document Spreadsheets, as well as
XML, CSV and SQL files

 Administer multiple servers

 Manage MySQL users and privileges

 check referential integrity in My ISAM tables

 using Query-by-example (QBE), create complex queries automatically connecting


required tables

 create PDF graphics of your Database layout

 search globally in a database or a subset of it

 transform stored data into any format using a set of predefined functions, like
displaying BLOB-data as image or download-link

 track changes on databases, tables and views

 support In no DB tables and foreign keys

 support mysql, the improved MySQL extension

 create, edit, call, export and drop stored procedures and functions

Dept. of IS&E, MIT Mysore Page 12


Movie Ticket Management System 2021-22
 create, edit, export and drop events and triggers

 communicate in

 synchronize two databases residing on the same as well as remote servers

3.2.2 PHP
 You need PHP 5.2.0 or newer, with session support, the standard PHP library (SPL)
extension and JSON support

 To support uploading of ZIP files, you need the PHP zip extension

 For proper support of multi-byte string (e.g.: - UTF-8, which is currently the default),
you should install the Mb string and c type extensions

 You need GD2 support of multi-byte string (e. g: - UTF-8, which is currently the
default), you should install the Mb string and c Type extensions

 When using the “cookie” authenticated method, the mcrypt extension is strongly
suggested for most users and is required for 64-bit machine. Not using mcrypt will
cause php My Admin to load pages significantly slower

 To support XML and Open Document Spreadsheet importing you need PHP.

3.3 Normalization

The complete tables of the database in the project is normalized, obeying all the rules of
normalization.

1NF:

1NF disallows relations within relations as attribute values within tuples. The only attributes values
permitted by INF are single atomic (or indivisible) values.

2NF:

A functional dependency X → Y is a full Functional dependency if removal of any attribute A from X


means that the dependency does not hold any more; that is, for any attribute A ℇ X, (X – {A}) does not
functionally determine Y.

Dept. of IS&E, MIT Mysore Page 13


Movie Ticket Management System 2021-22

Example which satisfies 2NF

3NF: Transitive functional dependency:


A functional dependency X → Y in a relation schema R is a transitive dependency if there exists a set
of attribute Z that are neither a primary nor a subset of any key of R (candidate key) and both X → Z
and Y → Z holds.

Example which satisfies 3NF

Dept. of IS&E, MIT Mysore Page 14


Movie Ticket Management System 2021-22

3.4 TRIGGERS
Triggers are stored programs, which are automatically executed or fired when some events occur.
Triggers are, in fact, written to be executed in response to any of the following events.

A database manipulation (DML) statement (DELETE, INSERT or UPDATE) A database definition


(DDL) statement (CREATE, ALTER, or DROP).

A database operation (SERVER ERROR, LOGON, LOGOFF, STARTUP, or SHUTDOWN).

Triggers can be defined on table, view, schema, or database with which the event is associated.

Create trigger age Not Allowed


After INSERT
tbl_registration
For each row
IF NEW.AGE<18 THEN
SIGNAL SQLSTATE ‘4500’
SET MESSAGE_TEXT= ‘ERROR: age must BE ATLEAST 18 YEARS!’;
END IF

3.5 ASSERTIONS

Dept. of IS&E, MIT Mysore Page 15


Movie Ticket Management System 2021-22
An assertion is a piece of SQL which makes sure of condition is satisfied, else or it stop the
action being taken on a database.

An assertion is a constraint that might be dependent upon multiple rows of multiples tables.

Any modification to a database is allowed only if it would not cause any assertion are checked
only when UPDATE or INSERT actions are performed against the table.

Create assertion

ageNotAllowed

Check (age must BE ATLEAST 18 YEARS

(select * from tbl_registration

Where age < 18))

3.6 VIEWS

Views in SQL are the kind of virtual tables. A view also has rows and columns as they are in a
real table in the database. We can create a view by selecting fields from one or more tables
present in the database. A View can either have all the rows of a table or specific rows based on
certain conditions.

Dept. of IS&E, MIT Mysore Page 16


Movie Ticket Management System 2021-22

Chapter 4

RESULT ANALYSIS

4.1 SNAP SHOTS

Fig 4.1 Movie Ticket Management System

Dept. of IS&E, MIT Mysore Page 17


Movie Ticket Management System 2021-22

Fig 4.1.2 Registration Page

Fig 4.1.3 Admin Page

Dept. of IS&E, MIT Mysore Page 18


Movie Ticket Management System 2021-22

Fig 4.1.4 Theatre Page

Fig 4.1.5 Movie News Page

Dept. of IS&E, MIT Mysore Page 19


Movie Ticket Management System 2021-22

Fig 4.1.6 Theatre Assistant Page

Fig 4.1.7 Add Movie Page

Dept. of IS&E, MIT Mysore Page 20


Movie Ticket Management System 2021-22

Fig 4.1.8 View Movie Page

Fig 4.1.9 Add Show Page

Dept. of IS&E, MIT Mysore Page 21


Movie Ticket Management System 2021-22

Fig 4.1.10 Today’s Show Page

Fig 4.1.11 Tickets Page

Dept. of IS&E, MIT Mysore Page 22


Movie Ticket Management System 2021-22

Fig 4.1.12 View Shows Page

Fig 4.1.13 Add Theatre Page

Dept. of IS&E, MIT Mysore Page 23


Movie Ticket Management System 2021-22

4.2 DISCUSSION
o Home Page
Here a visitor can navigate to either Admin Login page if he/she is Admin or if he/she is a
user/subscribers he can navigate to user login page.

o Registration Page
Here if the visitor is irrespective of Admin or User has to create an account by providing Email
and Password if he/ she does not have an account.

o Manage Account
Here for every User a form will be provided to make an entry of there personal details that is
firstname, lastname, contact number, email.

4.3 TESTING

Dept. of IS&E, MIT Mysore Page 24


Movie Ticket Management System 2021-22
TEST CASE ID TEST CASES EXCEPTED ACTUAL STATUS
OUTPUT OUTPUT

Login with Invalid email or As excepted FAIL


Wrong email password
Address and
TC1 Wrong
password

Login with Invalid email or As excepted FAIL


Correct email password
Address and
TC2 Wrong
password

Login with Invalid email or As excepted FAIL


Wrong email password
Address and
TC3 Correct
password

Login with Directs to next As excepted PASS


Correct email page
Address and
TC4 Correct
password

Chapter 05

CONCLUSION AND FUTURE WORK

5.1 CONCLUSION

This project is developed successfully and the performance is found to be satisfactory. This
project is designed to meet the requirements of assigning jobs. It has been developed in PHP and
the database has been built in My SQL server keeping in mind the specifications of the system.

Dept. of IS&E, MIT Mysore Page 25


Movie Ticket Management System 2021-22
The user will be able to book the ticket using this website. The relationship between company
manager, employee, and customer satisfy a good communication to complete ticketing process.

5.2 FUTURE WORK

 In future our job management system will have extra facilities and more companies for more
employees.

 It will grant more easy access.

 We are going to include recommendation system to this project so it will be helpfull for the
user to search and apply for jobs as they wish.

Chapter 06

REFERENCES

1. HTML Tutorial - https://www.w3schools.com/html


2. CSS Tutorial - https://www.w3schools.com/Css
3. PHP Tutorial - https://www.w3schools.com/php
4. SQL Tutorial - https://www.w3schools.com/sql35
5. https://www.geeksforgeeks.org/
6. TEXT BOOK:Fundamentals of Database System,Ramez Elmasri and Shamkant B.Navathe

Dept. of IS&E, MIT Mysore Page 26


Movie Ticket Management System 2021-22
7. Database Management System- Raghu Ramakrishnan.

Dept. of IS&E, MIT Mysore Page 27

You might also like