A Case Study of Cinema Management System Project Report.
A Case Study of Cinema Management System Project Report.
INTERNSHIP REPORT
ON
CINEMA MANAGEMENT SYSTEM PROJECT
BY
KAMAL ACHARYA
(Tribhuvan University)
Date: 2023/09/25
1|P ag e
WEB BASED CINEMA SEAT ALLOCATION SYSTEM
ABSTRACT
used to store and retrieve information and conduct transactions related to air travel,
hotels, car rental, or activities. These systems typically allow users to book hotel
rooms, rental cars, airline tickets as well as activities and tours. They also provide
access to railway reservations and bus reservations in some markets, although these
are not always integrated with the main system. For these systems to be accessible on
mobile phones and computers outside the premises of the airport, cinema, train station
This project focuses on the design and implementation of a web based cinema
management system for the allocation of seat tickets online. The system would feature
the registration of users, use of serial numbers and pins gotten from scratch cards sold
and a printed slip. The system would have a store of all the seats and automate the
2|P ag e
CHAPTER ONE- INTRODUCTION
A movie theater or movie theatre (also called a cinema, movie house, film house, film
theater or picture house) is a venue, usually a building, for viewing movies (films).
Most but not all movie theaters are commercial operations catering to the general
public, who attend by purchasing a ticket. The movie is projected with a movie
projector onto a large projection screen at the front of the auditorium. Most movie
theaters are now equipped for digital cinema projection, removing the need to create
Nigerian film industry had always been making films on celluloid and the films were
screened in cinema houses across Nigeria and later released on VHS for various
1992 by NEK Video Links owned by Kenneth Nnebue launched the Home video
market in Nigeria. Nnebue had an excess number of imported video cassettes which
he then used to shoot his first film on a Video Camera. Nollywood exploded into a
booming industry in the late '90s and pushed foreign media off the shelves. It is now
an industry marketed all over Africa and the rest of the world. Thus the use of cinemas
has a long history and reveals the general acceptance of cinema use. But the seat
3|P ag e
1.2 STATEMENT OF THE PROBLEM
There is a problem of having online access to the booking system of most cinema
viewing centers. Tickets may have to be purchased on site and seat booking is not
a. It would automate the process of booking for cinema seat space online
b. Generation of pins and serial numbers for cinema cards will be present
processing online.
4|P ag e
1.6 LIMITATIONS OF THE STUDY
This project is limited to the use of scratch cards in accessing the system as online
5|P ag e
LITERATURE REVIEW
effectively. Management information systems are not only computer systems - these
Management information systems are distinct from other information systems in that
they are designed to be used to analyze and facilitate strategic and operational
activities in the organization. Academically, the term is commonly used to refer to the
system is also a set of processes that allows companies to move information through
their business operations. Business owners and managers use the information to make
decisions, among other things. The expanding variety and use of information
6|P ag e
2.1 EFFECTS OF USING COMPUTERIZED INFORMATION
MANAGEMENT SYSTEMS
Companies are able to highlight their strengths and weaknesses due to the presence of
aspects can help the organization improve their business processes and operations.
planning tool. The availability of the customer data and feedback can help the
organization to align their business processes according to the needs of the customers.
The effective management of customer data can help the organization to perform
important asset for any organization in the modern competitive world. The consumer
buying trends and behaviours can be predicted by the analysis of sales and revenue
operations at low levels and frees up resources for departmental managers to devote
better and decision makers in the organization are aware of issues and problems in all
which can be quite common with conventional businesses in the modern era.
Information systems have to be designed and managed in such way that it aggregates
all activities and better ways to measure performance, manage resources and facilitate
preparing accurate budgets and providing the tools and vital information to
The system covers all cinemas in a country, but depending upon needs, it can integrate
cinemas of other countries as well. Any cinema has one or more rooms, and each
room contains a set of seats. A room can be built and integrated in the system through
a room Designer interface, managed through a web based cinema manager interface.
In future releases, this system will provide an interface allowing existing cinema
People should use this system to find particular movie-sessions by various search
criteria like country, area, city, time, and cinema or movie title. When entering the
web-page the system automatically sets the search conditions to the local area, and a
time interval spanning the rest of the current day. When the user has entered search
criteria he or she will be presented with a list of session-links that fulfill the criteria or
an empty list. Clicking a session link returns a graphical presentation of the room of
the session, at which seats can be selected/deselected, a total prize displayed and a
booking-commit button. A booking number will be displayed at the screen. The user
can bring along this booking number and have the tickets printed later. Also, this
8|P ag e
booking number is essential if the user should have his/her money back due to
session-cancellation, disease or other problems. If a user does not pay before some
time limit, specified by the local cinema, before the session begins, the reservation
will automatically be cancelled and the corresponding set of seats becomes available
for other users. When the movie has been on for some time-span, which is also set by
the cinema manager, booking or buying a ticket for that particular session is no longer
possible. However, the session information is kept for some time to handle any
possible at any computer connected to the internet and a printer, or at any cinema
covered by the system. It is the user’s responsibility to take care of the tickets because
a given ticket, representing a seat, can only be printed once. (Steward 2011)
The system provides functionality for a cinema manager to schedule future movies at
his/her own cinema, i.e., entering sessions into the database, as well as changing the
9|P ag e
FIG 2.1 Structure of a movie theatre seat booking system.
10 | P a g e
2.3 ONLINE MOVIE THEATRE TICKET BOOKING SYSTEM
This is a online web site on which user as well as theatre owner register themselves
and use this site to update movies in theatre and search for particular location of
theatre as well as book tickets for particular movie. Also theatre authority can check
system. The database will keep the information about the customers, sales, etc. The
system will enable the management to analyze the progress of the business, create
An important aspect of this project is to develop a web application that will allow the
11 | P a g e
fig 2.2 overall structure of a cinema management system
Welcome Screen
Login
Req.
Present Results
12 | P a g e
2.5. DATABASE DESIGN FOR A MOVIE MANAGEMENT SYSTEM
We represent the main entity types of this database. For each entity type, we provide
some of the corresponding attributes. Use this information in order to: (a) Build an
Enhanced E-R diagram; (b) Transform the Enhanced E-R diagram to a relational
database. Identify the primary key(s) and the foreign key(s) for each relation. Draw
the relational integrality constraints; (c) For each of the relations created, indicate its
normal form. If the relation is not in the 3NF, decompose it into 3NF relations.
2. Employee: The main attributes are identification number, name, address, date
3. Movie: The main attributes are identification number, title, year of production,
5. Producer: The main attributes are identification number, name, address, contact
Note the following: (a) Awards won and Actors are multi-value attributes of the entity
type Movie. (b) Employment history is a multi-value attribute of the entity type
Employee. (c) A movie is played in at least one showroom and it is played at least
customer purchases tickets for a movie, the following is recorded: ticket number, date,
unit price, amount paid, and number of tickets purchased. The number of tickets
purchased reduces the total number of tickets available. (e) Some of the customers
choose to become members in order to buy tickets on-line. For members, the
following additional information is required: login name and password. (f) When the
recorded: transaction number, purchase price, purchase date, payment due date, and
amount due.
The following are some of the queries, forms, and reports one can create in order to
Queries:
a. Create a query that presents the monthly revenues from ticket sales, the
monthly expenses from salaries, the monthly expenses from purchasing new movies,
b. Create a query that presents the total revenues, total expenses, and earnings
14 | P a g e
2. Create a query that lists the five best movies of the current year. This
4. Create a query that presents the total number of tickets sold per movie. Sort the
5. Create a query that presents the average capacity usage of a showroom during
6. Create a query that lists the one hundred most preferable customers.
7. Create a query that presents detailed information about the producer with
whom the theater did the most business during the current year.
8. Create a query that prompts for a date and returns the movie schedule for the
selected date and the total number of available tickets per show.
9. Create a query that prompts for the name of a movie and returns the weekly
schedule of the selected movie and the total number of available tickets per show.
10. Create a query that prompts for the name of a customer and returns details
about the ticket purchases made by the selected customer during the current month.
1. Create a user sign-in form together with a registration form for new users.
15 | P a g e
2. Create the following data entry forms that are used for database administrative
functions: employees, movies, customers, movie timetables, etc. These forms allow
the user to add, update, and delete information about employees, movies, customers,
3. Create a form that enables the user to browse through the financial reports
created.
4. Create a form that would enable the user to select a movie title from a combo
box. Insert a subform that presents the weekly timetable of the selected movie and the
total number of available tickets per show. Insert textboxes to present the following
information about the selected movie: production year, name of the producer, and a
description of the movie. Insert a command button that, when clicked-on, returns a list
with details about the awards won by the selected movie. Insert a command button
that, when clicked-on, returns details about the actors who perform in the movie.
Insert a command button that allows the user to purchase a ticket. When the user
clicks-on this button (a) the user sign-in form opens. If the user is not a member, the
user registration form opens. (b) Next, the data entry form opens to enable the user to
purchase a ticket.
5. Create a form that allows the user to browse through the information saved in
this database about actors. Insert a subform that presents details about the movies
performed in by the selected actor. Insert a subform that presents details about the
16 | P a g e
6. Create a form that allows the user to browse through the information saved in
this database about producers. Insert a subform that presents details about the movies
7. Create a form that allows the user to browse through the information saved in
the database about customers. Insert a subform that presents details about the ticket
purchases of the selected customer during the last month. Insert textboxes that present
the following information: the total amount of money the selected customer has spent
during the current month; the total revenues generated from ticket sales during the
current month; and the total revenues from ticket sales during the current year. Insert a
command button that, when clicked-on, returns details about the most preferred
customers.
2.6.1 MOVIES
This data would include a listing of the movies to be shown in the cinema, details of
the movie such as title, cast, and introduction including a short clip perhaps. All these
The number and details of seats are registered on the system. This enables automated
allocation or manual choosing by users on the system. This flexibility allows for
The data of the viewer also needs to be managed as the viewer would provide personal
Here we discuss the available payment systems which could be used in processing
18 | P a g e
2.6.1 ELECTRONIC PAYMENT AND ONLINE ELECTRONIC PAYMENT
FOR TICKETING
Jing, (2011) explained that online electronic payments are not tantamount to electronic
payments. In the emergence of e-commerce, credit cards have long been represented
by electronic means of payment, credit cards in shopping malls. Many hotels and
other places and items could swipe of the card, POS terminals Regulations, ATM cash
forms of payment. And online electronic payments, online payments also known as
types of electronic tools and media, the electronic computer and communications
technologies as a means Electronic data (binary data) stored in the bank's computer
system and through the computer network system in the form of the flow of electronic
information transfer and payment. Electronic Payment System is the basis for online
payment. It makes electronic payment may, at any time, through the Internet directly
NUMBERS
In online shopping online electronic payment function is the key issue to ensure the
consumers are fast and convenient, we have to ensure the safety and secrecy of the
19 | P a g e
Currently, several online electronic payment systems used which include internet
Bank Card Payment System Including online credit card, smart card (IC card)
payment systems and are established in accordance with the standards set shopping
and payment system. Thus using scratch cards which have been automatically
alternative method of paying for seats in a cinema. These scratch cards could be
purchased as a regular feature like normal recharge cards. On logging on to the site,
users could then fill in their personal information along side the scratch card details to
20 | P a g e
CHAPTER THREE
SYSTEM
3.1 INTRODUCTION
In this section, we present the design of our proposed system with technical details
such as flow charts, use case diagram and data base table structures. We also present
an analysis of the existing system, Kathmandu plaza with the properties of the new
The ticketing system of Kathmandu plaza is done in the cinema arena. The payments
are done there in cash and choices of seats are not presented. The data of the viewer is
not entered properly into the system for future references and the process is generally
From the general flow of data in the current system, we found the following problems
Lack of comfort- the whole seat allocation system is manual. Users are not able
to book and register seats from their comfort zone. There is no provision for
21 | P a g e
Deleting and adding new seats proves to be complicated as manual records
There is no digital data of a person entering the cinema hall which could be
Design and printing of tickets is not fully automated but designed as a template
and printed for all seats pending who takes the seat
Cash is paid on site which makes physical cash present in the site and this
The web based cinema seat allocation system will have the following features
Network access – this means it could be used either on the internet or on a local
homes before coming to the cinema. They also get to see the list of movies
automatically generating seat numbers and id. This would also aid the adding
or removal of seats.
reserving a seat.
22 | P a g e
Generation of serial numbers and pins for cinema scratch cards would also be
possible with option for printing. These cards would be paid for and used in
In this section, we use a use case diagram to show the overall use of the system
summarizing each function and process carried out by a user of the system. The main
users are the customer and administrator. The roles of the customer include
purchasing a scratch card, entering data online, making a seat reservation and printing
out the acknowledgement slip or ticket. The role of the administrator is to register pins
and serial numbers, register and mange seats and see who seats have been assigned to
incase of any fraudulent acts. The figure below shows the use case diagram of the web
23 | P a g e
USER
Purchase Scratch card and obtain serial
number and pin
24 | P a g e
Seat Allocation Flow Chart
Start
no Valid
Card?
yes
yes Is seat
Out put
Allocated to
Allocation Details
user?
No
Print Ticket
Stop
25 | P a g e
Seat Registration Flow Chart
Start
Logout User to
no Is user
Main Page Logged
in?
yes
yes
Add
Another
Record?
Stop
26 | P a g e
Viewing Events Flow Chart
The system has one master database named “cinema”. The database has tables – seats,
users, pins
TYPE
1. ID INT 255
2. HALL VARCHAR 20
3. ROW VARCHAR 30
4. SEAT VARCHAR 40
5. OWNER VARCHAR 40
6. DATEENTRY VARCHAR 4
7. DATEEXIT VARCHAR 10
27 | P a g e
Table 3.2 PINS TABLE
TYPE
1. ID VARCHAR 255
2. PIN VARCHAR 50
3. SERIAL VARCHAR 50
4. OWNER VARCHAR 50
5. USED VARCHAR 60
TYPE
1. Id INT 255
2. FIRSTNAME VARCHAR 30
3. LASTNAME VARCHAR 30
4. OTHERNAME VARCHAR 30
5. MOBILE VARCHAR 11
6. EMAIL VARCHAR 20
7. ADDRESS VARCHAR 20
28 | P a g e
CHAPTER FOUR
4.0 IMPLEMENTATION
This chapter presents the hardware required for the cinema seat allocation System in
section 4.1. The software requirement for the system is presented in section 4.2.
The hardware required for the development of the system is listed below
3) Network cables
4) Routers
5) Internet modem
6) Email server
2) Server side operating system like linux, windows server 2008 r2 etc
3) Web browser
29 | P a g e
4.2 CHOICE OF PROGRAMMING LANGUAGE - PHP
Shafik & Ramsey (2006), defined PHP as a server-side scripting language designed
for web development but also used as a general-purpose programming language. PHP
is now installed on more than 20 million websites and 1 million web servers.
is now produced by The PHP Group. While PHP originally stood for Personal Home
Page, it is now said to stand for PHP: Hypertext Preprocessor, a recursive acronym.
PHP code is interpreted by a web server with a PHP processor module which
generates the resulting web page: PHP commands can be embedded directly into an
HTML source document rather than calling an external file to process data. It has also
graphical applications. PHP is free software released under the PHP License, which is
incompatible with the GNU General Public License (GPL) due to restrictions on the
usage of the term PHP. PHP can be deployed on most web servers and also as a
standalone shell on almost every operating system and platform, free of charge.
On May 22, 2000, PHP 4, powered by the Zend Engine 1.0, was released. As of
August 2008 this branch is up to version 4.4.9. PHP 4 is no longer under development
On July 13, 2004, PHP 5 was released, powered by the new Zend Engine II. PHP 5
included new features such as improved support for object-oriented programming, the
PHP Data Objects (PDO) extension (which defines a lightweight and consistent
30 | P a g e
interface for accessing databases), and numerous performance enhancements. In 2008
PHP 5 became the only stable version under development. Late static binding had
A new major version has been under development alongside PHP 5 for several years.
significant changes, which included plans for full Unicode support. However, Unicode
support took developers much longer to implement than originally thought, and the
decision was made in March 2010 to move the project to a branch, with features still
PHP was used in the development of this project for the following reasons
flexibility – this means that the program could be hosted online on a network –
2. PHP is user friendly like simple and easy to learn compare to other programming
3. PHP can be easily integrates into HTML, even you can manage it without using
HTML as well.
4. PHP is cross platform support language and it can be supported on most web
servers and runs on all major operating systems like Linux, Mac OSPHP can be used
31 | P a g e
to develop web applications for personal websites to e-commerce applications and
5. PHP doesn't use a lot of the system’s resources so it runs fast and doesn’t tend to
it loads and executes quickly. It works well with other software and can be quite fast.
PHP is also fairly stable and since it is open source, the PHP community works
together to fix any bugs. The community offers technical support and continuously
6. Another key advantage of PHP is its connective abilities. PHP uses a modular
encryption, etc. In addition, programmers can extend PHP by writing their own
extensions and compiling them into the executable or they can create their own
32 | P a g e
4.3 IMPLEMENTATION TECHNIQUE
and accessed over the network by client systems which in this case would be used by
Install apache2triad.5.4.exe
At the end of the installation enter the password again when asked
Restart system
Click import and select the file “ database.sql” from the cinema folder
Get the username and password for the cpanel from hosting provider
33 | P a g e
Locate the file uploader and upload all the files in the cinema folder into the
Import the database file database.sql using the browse/choose button to get it
Verify that the connect.php password and username are set to the new
Logout and run the set from the webbrowser using the website
www.Kathmanducinema.com
The system was tested using 5 persons. The data of these persons were collected and
five scratch cards were printed out. Each of the person’s details were entered into the
system including passports and the scratch card details were also entered.
34 | P a g e
4.4.1 OUTPUT
The result showed that 5 seats chosen by the persons were allocated and the seats
differed because once a seat has been taken, it is locked to the user till 24 hours. The
mobile no of the persons served as a key to reprinting or accessing the ticket data.
To test for errors, the system was subjected to fake scratch cards which proved
invalid. Persons registered attempted registration with the same mobile number. This
Renewal of internet hosting fee – this requires a payment to the internet hosting
The administrator would check for seats that are invalid from time to time to
The administrator would generate scratch cards for the number of seats present
35 | P a g e
CHAPTER FIVE – SUMMARY CONCLUSIONS AND RECOMMENDATION
Kathmandu plaza. The system was developed to carry out the functions of managing
cinema seat information, user information and scratch card pin and serial generation.
The system would greatly enhance the allocation of seats and online access to seat and
5.1 RECOMMENDATION
It is hereby recommended for this system to be adopted for use by Kathmandu plaza
36 | P a g e
REFERENCES
37 | P a g e
Acharya, Kamal, Online electricity billing project report. (May 7, 2024). Available at
SSRN: https://ssrn.com/abstract=4819630 or http://dx.doi.org/10.2139/ssrn.4819630
Acharya, Kamal, POLICY MANAGEMENT SYSTEM PROJECT REPORT. (December 10, 2023).
Available at SSRN: https://ssrn.com/abstract=4831694 or http://dx.doi.org/10.2139/ssrn.4831694
Acharya, Kamal, Online job placement system project report. (January 10, 2023). Available at
SSRN: https://ssrn.com/abstract=4831638 or http://dx.doi.org/10.2139/ssrn.4831638
Acharya, Kamal, Software testing for project report. (May 16, 2023). Available at
SSRN: https://ssrn.com/abstract=4831028 or http://dx.doi.org/10.2139/ssrn.4831028
Acharya, Kamal, ONLINE CRIME REPORTING SYSTEM PROJECT. (August 10, 2022). Available at
SSRN: https://ssrn.com/abstract=4831015 or http://dx.doi.org/10.2139/ssrn.4831015
Acharya, Kamal, Burber ordering system project report. (October 10, 2022). Available at
SSRN: https://ssrn.com/abstract=4832704 or http://dx.doi.org/10.2139/ssrn.4832704
Acharya, Kamal, Teachers Record Management System Project Report (December 10, 2023).
Available at SSRN: https://ssrn.com/abstract=4833821 or http://dx.doi.org/10.2139/ssrn.4833821
Acharya, Kamal, Dairy Management System Project Report (December 20, 2020). Available at
SSRN: https://ssrn.com/abstract=4835231 or http://dx.doi.org/10.2139/ssrn.4835231
Acharya, Kamal, Electrical Shop Management System Project (December 10, 2019). Available at
SSRN: https://ssrn.com/abstract=4835238 or http://dx.doi.org/10.2139/ssrn.4835238
Acharya, Kamal, Online book store management system project report. (Febuary 10, 2020). Available
at SSRN: https://ssrn.com/abstract=4835277 or http://dx.doi.org/10.2139/ssrn.4835277
Acharya, Kamal, Paint shop management system project report. (January 10, 2019). Available at
SSRN: https://ssrn.com/abstract=4835441 or http://dx.doi.org/10.2139/ssrn.4835441
Acharya, Kamal, Supermarket billing system project report. (August 10, 2021). Available at
SSRN: https://ssrn.com/abstract=4835474 or http://dx.doi.org/10.2139/ssrn.4835474
Acharya, Kamal, Online texi booking system project report. (March 10, 2022). Available at
SSRN: https://ssrn.com/abstract=4837729 or http://dx.doi.org/10.2139/ssrn.4837729
Acharya, Kamal, Online car servicing system project report. (March 10, 2023). Available at
SSRN: https://ssrn.com/abstract=4837832 or http://dx.doi.org/10.2139/ssrn.4837832
Acharya, Kamal, School management system project report. (July 10, 2021). Available at
SSRN: https://ssrn.com/abstract=4837837 or http://dx.doi.org/10.2139/ssrn.4837837
Acharya, Kamal, Furniture Showroom Management System Project Report (March 21, 2021).
Available at SSRN: https://ssrn.com/abstract=4839422 or http://dx.doi.org/10.2139/ssrn.4839422
Acharya, Kamal, Online Vehicle Rental System Project Report (March 21, 2019). Available at
SSRN: https://ssrn.com/abstract=4839429 or http://dx.doi.org/10.2139/ssrn.4839429
38 | P a g e
Home Page
Book a seat
39 | P a g e
Movies
Reprint –
40 | P a g e
Admin panel
<section id="content">
<div class="main">
<div class="slider-wrapper">
<div class="slider">
<ul class="items">
41 | P a g e
<ul>
</li>
</ul>
<strong class="banner">
<strong>View</strong>
<span>View Movies</span>
</strong>
<ul>
<li>
</li>
</ul>
42 | P a g e
<strong class="banner">
<strong>Book</strong>
<span>a Seat</span>
</strong>
</ul>
</div>
<ul class="pagination">
</ul>
</div>
43 | P a g e
</div>
<div class="wrapper">
<article class="col-1">
<div class="indent-left">
<ul class="list-1">
</a></li>
</ul>
</div>
</article>
44 | P a g e
<article class="col-2">
</a></span></h3>
<div class="p1">
height="191" /></figure>
</div>
</article>
<article class="col-3">
<div class="indent-top">
<ul class="list-2">
<ul>
</li>
45 | P a g e
</ul>
</li>
</ul>
</div>
</article>
</div>
</div>
</section>
46 | P a g e
<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<meta charset="utf-8">
media="screen">
media="screen">
media="screen">
<script type="text/javascript"
src="js/jquery.googlemaps1.01.js"></script>
<script type="text/javascript">
$(function() {
$("table tr:nth-child(odd)").addClass("odd-row");
});
</script>
<!--[if lt IE 7]>
48 | P a g e
<a href="http://windows.microsoft.com/en-US/internet-
explorer/products/ie/home?ocid=ie6_countdown_bannercode">
<img
src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_
For a faster, safer browsing experience, upgrade for free today." />
</a>
</div>
<![endif]-->
<!--[if lt IE 9]>
media="screen">
<![endif]-->
</head>
<body id="page5">
49 | P a g e
<!--
==============================header==========================
=======-->
<header>
<div class="main">
<div class="wrapper">
<h1>
<a href="index.php">DesignStudio</a>
</h1>
<nav>
<ul class="menu">
<li><a
href="index.php">Home</a></li>
<li><a href="register.php">Book
Seat </a></li>
50 | P a g e
<li><a
href="movies.php">Movies</a></li>
<li><a href="reprint.php">Re-
Print </a></li>
<li><a
href="contact.php">Contact </a></li>
</ul>
</nav>
</div>
</div>
</header>
<section id="content">
<div class="main">
<div class="indent-left">
<div class="wrapper">
51 | P a g e
<?php session_start();?>
<?php
include ('connect.php');
if (isset($_POST['regstudent']))
if (empty($_POST['mobile']) or empty($_POST['surname']) or
empty($_POST['firstname']) )
$mobile = $_POST['mobile'];
52 | P a g e
$qry = mysql_query("select * from seats where owner = ('$mobile') and assigned =
$noH = mysql_num_rows($qry);
$datax = mysql_fetch_array($qry);
if ($noH > 0)
Allocated to ('.$mobile.')';
include ('register.php');
exit;
53 | P a g e
//fix seat
$gender = $_POST['gender'];
die(mysql_error());
$noH = mysql_num_rows($qry);
for ($i=1;$i<=$noH;$i++)
$dataB = mysql_fetch_array($qry);
'.$dataB['hall'].'-'.$dataB['row'].'-row-seat-'.$dataB['number'].'</option>';
$selectB .= '</select>';
54 | P a g e
if ($noH == 0)
include ('register.php');
exit;
$_SESSION['mobile'] = $_POST['mobile'];
$_SESSION['gender'] = $_POST['gender'];
55 | P a g e
$dateenter = date('Y-m-d');
//uploading passport
if ($_FILES['passport']['name']!='')
$passportname = $_FILES['passport']['name'];
$array = explode('.',$passportname);
$extension = $array[1];
$passportname = $_POST['mobile'].'.'.$extension;
56 | P a g e
if ($_FILES['passport']['size']>90000){$regerror = "Passport too Large!";
include('register.php'); exit; }
//upload passport...
move_uploaded_file($_FILES['passport']['tmp_name'],"passports/".$_POST['mobile'].
'.'.$extension);
{$passportname ='nil';}
57 | P a g e
mysql_query("insert into users (firstname,surname,dob,gender,email,mobile,address,
dateenter,dateexit,passport)
values (
'{$_POST['firstname']}',
'{$_POST['surname']}',
'{$_POST['dob']}',
'{$_POST['gender']}',
'{$_POST['email']}',
'{$_POST['mobile']}',
'{$_POST['address']}',
'{$dateenter}',
'{$dateexit}',
'{$passportname}'
)")
or die (mysql_error());
58 | P a g e
}
?>
<div align="center">
</p>
<p>
</p>
</p><div class="6u">
</div>
</form>
</div>
60 | P a g e
<?php include ('head.php');?>
enctype="multipart/form-data">
<div align="center">
<p>
<style>
div {
padding:15px;
margin:0;
</style>
<span style="font-weight: bold"> Purchase a cinema scratch card for N1000 per seat
registration </p>
</div>
61 | P a g e
<div style="width:60%">
<div>
<fieldset><legend>Personal Details</legend>
class="text" />
</p>
</div>
<div>
class="text" />
</p>
62 | P a g e
</div>
<div>
<option value="M">M</option>
<option value="F">F</option>
</select>
</p>
</div>
</fieldset>
</div>
<div>
<fieldset>
<legend></legend>
<div>
</div>
<div>
</div>
<div>
</div></fieldset>
<div>
<fieldset><legend>Upload Passport</legend>
<p>
<br>
<font style="float:left;">[*jpeg/*jpg/*.png]</font></p>
64 | P a g e
</fieldset></div>
</div>
<div></div>
value="Next>>">
</div>
<p> </p>
<p> </p>
<p><br>
</p>
<p> </p>
</div>
</form>
65 | P a g e