Design_and_Implementation_of_web-based_Vehicle_licensing_system[1]
Design_and_Implementation_of_web-based_Vehicle_licensing_system[1]
LICENSEING SYSTEM
BY
OGBE BLESSING
U14/NAS/CSC/072
OKOYE UNIVERSITY.
JULY,2018
i
CERTIFICATION
I hereby declare that the work presented herein was done by me and not by a third
party. Should I be convicted of having cheated in this work, I shall accept the
verdict of the university.
ii
APPROVAL PAGE
(Project Supervisor)
(Head of Department)
iii
DEDICATION
I dedicate this project to God Almighty my creator. He has been my strength throughout
this program. I also dedicate this work to my family, for love and care they showed me.
iv
ACKNOWLEDGEMENT
I am eternally grateful to the almighty God for his guidance, Immeasurable love,
Abundant blessings unmerited grace. It is said that no individual can accomplish any
good venture without assistance from others.
First, my profound gratitude goes to my sweet mother, Mrs. Christian Ogbe a jewel of
inestimable value, for her unfailing support and provision and my Eldest brother, Mr.
Isioma Ogbe whose advice and teaching steered me in the right 1direction. I remain
grateful to my supervisor Mrs.Ezegorie M.O who despite her tight schedule and
engagements patiently took her time nurture, scrutinize and correct my work. Her
immense support, ideas, sacrifices and contributions during this course of work is
Immeasureable. I want to say a big thank you to my HOD Dr.(Mrs.) Monica Agu
words cannot express my immense gratitude for your support and counsel. I remain
grateful to all my lectures and staff of computer science/mathematics department
especially Dr. Ndidiamaka Ozofor and Mrs Onus for the training and support given to
me and assistance at different stages of this study.
To my indescribable siblings (favour, Isreal, Isioma and wisdom) and my three best
friends Stacey, Jessica and Nancy whose companionship and love made my life
infinitely more rewarding. Thank you for loving me unconditionally. A big thank to
my lovely ones Goodness, yoonis, stella, blessing, Lucyann, Ifunanya, Ifeanyi,
Precious, Austin, to all my colleagues and others too numerous to mention, may God
bless you all.
v
ABSTRACT
The traditional approach to Vehicle licensing in Nigeria has been a very manual method in
Nigeria in the sense that the payment and delivery is manual. Although this method is easy and
understandable, it poses problems on the long run because users are always expected to travel
long distances from wherever they live to the license station in order to make payments and
obtain Vehicle licenses, it is also observed that record keeping is largely manual and subject to
disorganization and irreparable loss of data. Because of this, the design and implementation of a
Web-based Vehicle Licensing System aims to reduce the number of time-consuming processes
involved in obtaining Vehicle licenses, provide secure and cost effective methods of storing and
maintaining user data and improve the working experience of both staff and Vehicle users. The
methodology used in this project is Structured System Analysis and Design Methodology, the
programming languages used in the design of this project are HTML (Hyper-text Markup
Language), PHP (Hyper-text Preprocessor), CSS (Cascading Style Sheet) and SQL (Structured
Query Language).
vi
TABLE OF CONTENTS
DECLARATION i
CERTIFICATION ii
DEDICATION iii
ACKNOWLEDGEMENT v
ABSTRACT vi
LIST OF TABLES ix
LIST OF FIGURES x
CHAPTER 1 INTRODUCTION
1.2 Objectives 6
2.0 Introduction 8
3.0 Introduction 20
vii
3.2 Diagram Showing the Organization 27
4.0 Introduction 39
4.4 Documentation 47
5.0 Summary 51
5.1 Conclusion 51
5.2 Recommendation 52
Reference 54
Appendix 56
viii
LIST OF TABLES
Title Page
ix
LIST OF FIGURES
Title Page
x
xi
CHAPTER ONE
INTRODUCTION
Vehicle Registration in Nigeria began over 100 years ago and the records have
been essentially manual which in turn has not help to raise the efficiency of general
very efficient instrument, which has played a very significant role in adequate
However, computerization has helped in many areas of life and due to the great
becomes of great important in order to wipe out the manual data processing system
from which many problem have originated. The problems, which have engulfed
project together with the new method that was innovated. This work is conducted
identify the various problems that are been encountered in the registration of
vehicles manually. This theory also compares the existing system with the new
system, which is exact, and a faster way of processing data and the problem faced
by customers when they are registering their vehicles. There are different
1
programming languages that can be used to develop such programs, PASCAL,
use of PHP, Database (MySQL) they are both working with Apache server
(XAMPP).
fundamentally transforming the way in which human activities are carried out.
Computer plays vital role in the development of any company it also saves some of
its complex problems that are been faced by man and processes voluminous data
information and data processing in most of our business has grown adversely as in
the case of motor vehicle license and plate registration. In as much as motor
vehicle registration has been in existent for ages now, the old system of registration
has been in adoption which did not play a significant role on highway safety until
sheeting which is more visible to read even in the dark. This new system of motor
vehicle and plate number registration, which is the main focus of this project, came
2
into existent on the 19th March 1997 and handled by the motor licensing officer. It
was introduced to enforce strict compliance to traffic rules and regulation as well
as providing a proper data as to the behaviour of road users. Thus the role this
study is going to play is to computerize the motor vehicle and plate number
competence.
Motor licensing office Abuja only focuses on vehicle registration and inspection,
and not on other supporting services such as vehicle tracking, learner’s driving
Vehicle registration in the city, state, and district offices burdened applicants by
requiring them to personally deliver the certified copy of resident’s registration and
other documents.
which ranges from cars to buses and later to trucks and heavy duty equipment on
ledgers and tracking other related information such as registration, road worthiness
test certificates, change of ownership, engine and chassis numbers; and expiration
of road license. This process has been extremely inefficient and the recovery of the
3
information was not possible once ledgers were damaged or lost as it frequently
occurs.
These are the problems that are being encountered in the manual system of
licensing and registration, (Licensing office Abuja). The limited factors listed
ii. Wrong Charging of Fees: The officer in-charge is bound to charge a wrong
iii. Wrong Sales Allocation: Staff under a particular state motor vehicle
their state.
iv. Improper Accounting: There is the tendency of the cashier involved in the
vi. Mental/Manual Labour: This involves the use of strength and Brain and the
body. The officer in-charge goes through mental labour because he has to
sort the records of the entire vehicle in his domain of jurisdiction. He suffers
the motor licensing officer has to write and enter the information of the
then your plate number and vehicle license is prepared after a given period
of time. When put together, the time spent on all of these is much.
5
1.2 Objectives
As we have seen from the statement of the problems, the things that stand as
better system which is the computerized system which will contribute in providing
ii. To ensure a very high level of accuracy during registration of certain vehicle
iii. Developing a system that will allow for the generation and assignment of an
infinite identification mark or number (that is, the vehicle plate number).
that will make registration simple and easy for registration officer and
vehicle owner.
vi. This also aims at giving an up-to-date report of the revenue generates from
6
1.3 Significance of the Project
issuance of vehicle license, plate number and other related activities. The
ii. To develop a method that will allow easy storage and retrieval of vehicle and
iv. To determine the easiest and fastest way to access vehicle owner’s
vi. To develop an easy method for generating and assigning plate numbers or
identification mark.
7
CHAPTER TWO
LITERATURE REVIEW
2.0 Introduction
activities and the general movement of people in an urban system. Hitherto, urban
transport problems are becoming more and more acute in the cities in Nigeria.
World Health Organization (2000) recently articulated that health concerns related
to traffic and transportation have become a worldwide phenomenon and will likely
become more of an issue in the future. Findings from other recent studies suggest
that stress from transportation may represent an important factor that influences the
The trend of urbanization and city growth in developing countries are characterized
urbanization has a fairly long history in its growth and development. Historical
account shows that extensive urban development in Nigeria precedes the British
8
part of the world in the 19th century. During this period, the major factors crucial
administration.
The second half of the 20th century witnessed rapid rate of urbanization and
and local governments in 1967, 1976, 1987, 1991 and 1996,; and the
industrialization process between 1960 and 1975, which was based on import
substitution strategies and consumer market for imported goods and services.
In Nigeria the pace of urbanization has been dramatic showing extraordinarily high
rates of 5 - 10 percent per annum. Consequently, there has been rapid expansion of
Nigerian cities’ a real extent, which is now sometimes tenfold their initial point. A
crucial aspect of this is that city growth and expansion in Nigeria has been largely
uncontrolled.
9
2.1 Theoretical Background
The major technologies used in this project are web technologies (HTML,
CSS, and PHP) and MySQL database technology. HTML, CSS, and PHP are
acronyms for different coding languages used for displaying webpages on the
internet. Each has a different purpose and function and they work together to
deliver beautiful websites with updated content to your web browser. HTML
stands for Hyper Text Mark-up Language, CSS for Cascading Style Sheets, and
PHP for PHP Hypertext Pre-processor. We will start with HTML, each of our
The major HTML features used were form and cascading style sheet (CSS).
We used the form to collect information from the students and staff alike and
processed the information in PHP and stored the information or data collected in
PHP and MySQL instructions are used in our code to open the database,
establish a connection between it and the HTML code to insert data, retrieve data,
10
2.2 Review of Related Literature
studies have revealed these features of Nigerian urban transport. Among these
95% of urban trips are by road. Out of this, about 70% of the urban trips are made
by public transport.
Inter modality of trips is limited to public transport journey by road based public
transport.
Nigeria has the lowest level of motorization in West Africa with as low as 4
vehicles per 1000 inhabitants [3]. To compound the problem further, the rate of
vehicle growth is much lower than the population growth rate. Resulting from this
11
mismatch is a general fall in the level of motorization in all parts of the country.
Since 1982 and up till 1989/1990 there was a substantial reduction in new vehicle
There are six primary algorithms that the software requires for identifying a license
Plate:
1. Plate localization – responsible for finding and isolating the plate on the picture.
2. Plate orientation and sizing – compensates for the skew of the plate and adjusts
country-specific rules.
accuracy of the system. During the third phase (normalization), some systems use
edge detection techniques to increase the picture difference between the letters and
12
the plate backing. A median filter may also be used to reduce the visual noise on
the image.
The information is the life blood of any law enforcement agency. The accurate
and rapid flow of information is essential for effective law enforcement [2].
Without information, police work would come to a standstill. Without a fast and
wasted and police operations are degraded. As the rate at which vehicle crime
increased from 1999 through 2007 (65% increase in major crimes nationally) so
has the amount of information the police have to handle (The Punch Newspaper,
2007). It has reached such volume in most police agencies that information no
longer can be manually manipulated with any degree of accuracy and efficiency.
Reducing crime
13
But, one problem, which seems to plague all of the automation systems, was the
length of time it took to get data into the computer. Northrop (1995) in a study
conducted discussing the effectiveness of police computer use and the problems
that exist with this use. It was found in that study that the respondents in forty-four
cities across the United States view computers as a major force in the fight against
crime. This too could be applied in Nigeria if properly established and managed.
of data
2.2.3 The Need for Technologies and Commercial Software for Collecting
A variety of technologies have been tested and used by many law enforcement
14
include a variety of systems such as optical scanners, Mobile Phones, printers,
transfer the payment to the state agency account and provide deposit slips for the
collection of receipts at the state agencies. The use of on – line error checks, and
subsequently the needs for re-entering Vehicle detailed data are not inevitable. At
the beginning, these devices seem to be the best solution to all the registration
problems because it tackles the issues of payment of vehicles registration dues into
However, it still has its limitation, as they have not met up with the demands to the
masses that spend endless time anxiously waiting for their demands to be met at
the Licensing/Commission offices. Hence, the full computerization has not been
other countries. Shall we continue to wait for the criminals to get away with our
stolen vehicles? Shall we keep spending endless time waiting on queues in which
have been divulged are corrupt practices of officials based on personalities? Shall
we spend endless time searching for owners of whose vehicles have been
recovered when software can be developed to tackle such problem like these?
15
The merit of automation is far reacting more than just saving time and holding
down persons cost, automating gives motor vehicle licensing the means to truly
let registration officers eliminate duplicate data entry, move towards a completely
developing computerized system which can help motor licensing officers and
automatic day-to-day operation [4]. The solution can help motor licensing officers
For a computerized system to work efficiently and effectively, a strong and reliable
database is needed.
16
According to Microsoft encyclopaedia, database is;
A structured format for organizing and maintaining information that can be easily
Data stored in a computer in such a way that the computer can easily retrieve and
There are many reason for vehicle registration, take for instance, if you just bought
a vehicle and completed all the registration requirement and you are given your
vehicle license, then on your way back from the village, you were attacked at gun
point and the vehicle snatched from you, you reported to the nearest police station
and if you are lucky, your vehicle will be found” [2]. It would be difficult for you
to get your vehicle within a short period because of the existing manual system.
Road Safety Practice in Nigeria that “the method of vehicle and plate number
registration and identification has caused a lot of people pains, a pregnant woman
vehicle registration offices today are faced with potential rise and inefficiencies
associated with manual i.e. paper based processes which are costly, prone to error
17
and require mental and manual labor. Heightened regulation in the country is also
placing these vehicle owners under pressure to meet litigation needs”. [5]
Road Traffic Administration states that “the level of tediousness the manual system
of vehicle registration is so alarming that requires a new modified method that will
register their vehicle on time due to the manual process which consumes time. For
you to register your vehicle within a short period, you need to know one or two
persons in the licensing office. This factor is peculiar to most Nigerian offices”.
vehicle crime accounts for a quarter of all recorded crime; it costs over £3 billion a
year and causes immense distress and inconvenience to its victims to track their
records. That is why there is need to setup a national target of reducing vehicle
The vehicle plate number is very important because it is an identification mark that
distinguishes vehicle from each other. It shows the country a vehicle belongs” [10]
driver’s license and other vehicle – related documents are usually collected by
officials of both the Federal Road Safety Commission (FRSC) and the State
18
Liaison Office for both the Federal and State Governments respectively.
Sometimes the data forms are collected away from the scene. These data collected
poor handwriting, and errors due to multiple data entries at various levels. The data
Data quality as accuracy, precision, timeliness, and completeness of the data. The
interpretation, and the right data, appropriate level of detail, correct entry
procedures, and freedom from response error [8]. Data quality as a set of
quality are data accuracy, data completeness, data consistency, and timeliness of
19
CHAPTER THREE
SYSTEM IMPLEMENTATION
3.0 Introduction
project into modules, stages, steps, and tasks and provides a framework for
describing projects in a fashion suited to managing the project. SSADM sets out
Feasibility
Definition of requirements
Logical design
Physical design
20
3.1 Description of Existing System
information which ranges from cars to buses and later to trucks and heavy duty
road worthiness test certificates, change of ownership, engine and chassis numbers;
and expiration of road license. This process has been extremely inefficient and
recovery of the information was not possible once ledgers were damaged or lost as
it frequently occurs.
The current manual process employed by the state agencies and parastatals charged
with administering motor vehicle documentation and registration has over the
years failed to effectively address the objectives of the stakeholders to the process
i.e. the federal and state authorities, and the vehicle owners and users in the
country.
motor licensing offices carries out their operation on motor vehicle registration
manually.
During this process of manual operation, the applicant who requires that his (New
21
licensing Authority (M.L.A) expects him to fill three copies of form B. He should
also come with the necessary documents like custom duty certificate, bill of entry,
authenticating the total amount paid to the former owner be it government or the
vehicle dealer together with the host of other document. These documents are
checked in order to make sure that they are bear custom stamp and signature and
also complete. After he has gone through this, he now instruct the inspector officer
in writing on the completed form for the applicant to go ahead with registration of
his vehicle as well state the fees to be paid for the vehicle.
N500.00 (Motorcycle)
22
N20, 000.00 (Commercial vehicle bought up to one million naira)
After the applicant has been charged the next person who is the inspection officer
will now inspect the vehicle to know if the vehicle component numbers are filled
in the form like the chassis and engine numbers with what he has on his vehicle.
After inspection, the officer will now forward the form to the sub-cashier, who
collects the money, write a receipt specifying the amount paid and pass back the
23
3.1.1 Data Collection Flow Chart
is one of the functions. Motor licensing office, Abuja is a body, which has their
24
Motor licensing office, Abuja has the Directorate of motor vehicle administration
licensing operations all over the state, which is headed by Directorate of motor
registration who is under the order of chairman of board of internal revenue, which
is the apex of this structure. Below the directorate of motor vehicle administration
is the principal licensing officer who is in control of the urban licensing offices:
M.L.O. Wuse zone 3 operates under the command of motor licensing authority as
The assistant motor licensing authority heads assessment department. They are in
charge of every inspection done both in the vehicle and the form. They have clerks
Solutions PLC is proud to be partnered with the following banks: Oceanic bank,
25
Bank Phb, Sterling Bank, Afri Bank, Uba, Skye Bank, Fidelity Bank,
Intercontinental Bank, Eco bank, Unity Bank, Wema Bank, Fin Bank.
presently controlled by Fin Bank. Vehicle licenses are to be renewed annually and
they give the vehicle the right to drive on Nigerian roads within that period. It has
been designed to show the details of the vehicle owner and vehicle details.
number plate duplication have been discovered and sorted out in Lagos State alone.
We have more than doubled the revenue of the states the business solution
The business solution model has been able to control crime in case of stolen
vehicles
26
3.2 Diagram Showing the Organization Structure
communicated. The diagram below shows the way information flows in the motor
licensing office.
27
Fig 3.3: Information Flow Diagram
The existing system i.e. the manual system of operating motor licensing office has
some objectives which they want to achieve as much as possible to its maximum.
28
i. This system aims at eliminating fraud by making the process to pass from
one person to another yet it has not been possible since authorized officers
ii. This system has aimed at rendering/offering quick service to customers not
minding that it is done by hand, which they know will help in pleasing their
customers by attending to them within few minutes which has not been
achieved.
iii. This existing system aims at keeping accurate account of money yielded in
iv. This system keeps a comprehensive record of all registered vehicle owners
Presently, the mode of storage is both in paring form and in digitized (i.e.
recovery plan coupled with the increase in the vehicle registration various problem
raise their ugly head in various fashions. The problems are itemized below.
• Lack of proper, correct, accurate and concise information about the car owner.
29
• The delay associated with the registration, because of the manual methods of
operation.
• Lack of proper and accurate keeping of information about old records that have
• Time wastage: some activities are time consuming in the system for instance,
searching for a particular car owner’s record will take some time.
anomalies to result.
• The problem of work monotony and tediousness that result from doing the same
thing repeatedly.
Ineffective
Tedious
Inaccurate
Inconsistent
30
Incapacitated
Unreliable
Unproductive
Substandard etc.
Having considered all these, it becomes obvious that a new computerized system is
needed.
New system, which is computerized, has so many benefits that will obviate the
problem experience in the current system. The need this new system cannot be
of a very neat job. Besides, since the vast volume of paper, which is used in
31
Reduction of Cost: The computerized system will keep in reducing cost of
Use of Less Space for Record Storage: There will be elimination of much
registering records, checking from one line to the next as well as preparing a
which has advantage over the manual system that enables the user to retrieve
information than in manual system where you search for information record
Less tedious
Reliability
Consistency of data
32
3.3 Design of Proposed System
There is need for one to design system by showing what the system entails,
identifying and defining the various components of the system before the actual
implementation. The whole aim is to determine how the information can be built.
This gives the design the chance of making a choice of the way the problem can
best be solved.
33
Fig 3.4: Registration Form
34
ig 3.5: Plate Registration Form
Containing 3 tables with fields in them. The table’s below show the fields in the
database.
35
s/n Field Data type Description
1 id int(11) admin id
Table 3.1 Table showing the fields in admin table of the database
1 Id Int(11) Driver id
36
13 Passport varchar(60) Driver’s passport
Table 3.2 Table showing the fields in driver table of the database
1 Id Int(11) Vehicle id
papers
papers
37
number
Table 3.3 Table showing the fields in vehicles table of the database
CHAPTER FOUR
SYSTEM IMPLEMENTATION
4.0 Introduction
38
what those factors are but on what is required of the online vehicle and plate
software makes the whole development process less tasking, which is a very
The whole Project is divided in two parts the front end and the back end.
language for creating web pages and other information that can be displayed
consisting of tags enclosed in angle brackets (like <html>), within the web
page content. HTML tags most commonly come in pairs like <h1> and
</h1>, although some tags represent empty elements and so are unpaired, for
example <img>.
39
CSS- Cascading Style Sheets (CSS) is a style sheet language used for
language. While most often used to style web pages and interfaces written in
HTML and XHTML, the language can be applied to any kind of XML
specification of the web and almost all web pages use CSS style sheets to
installed on more than 244 million websites and 2.1 million web servers.
The back end is designed using mysql which is used to design the Databases
MYSQL- MySQL ("My S-Q-L", officially, but also called "My Sequel") is
(as of July 2013) the world's second most widely used open-source relational
40
Michael Widenius daughter, My. The SQL phrase stands for Structured
Query Language.
41
4.2 Implementation Architecture
The following block diagram shows the various components of the software and
their linkages.
Figure 4.1 Block Diagram showing the system architecture of the new
system.
The test activity was carried out in stages. Each module or form as the case may be
was tested during and after design using the Sublime Text IDE. The figures below
are screen shots during testing for logical and syntax errors.
42
Figure 4.2 Screenshot showing debugging of the Vehicle registration page.
43
Figure 4.3 Screenshot showing debugging of the driver’s license page.
Figure 4.4 Screenshot showing debugging of the plate number assign page.
44
Figure 4.5 Screenshot showing debugging of the update record tab.
The database was tested basically for connectivity and storage to ensure that the
appropriate data types, validation rules and other properties were assigned to the
fields. The main driver, being the diagnosis page was tested for proper connectivity
to the database. Improper linkage to the database was corrected and assurance was
made to see that data was accurately retrieved and presented without errors.
Testing was also done after the integration of the different modules of the system
with realistic data samples. Below are some screen shots during system testing
45
4.4 Documentation
46
Figure 4.7 Screenshot showing vehicle registration page.
47
Here, the plate number is automatically generated using the local government
Here, you register for a new driver’s license and when done you can view all
48
Figure 4.10 Screenshot showing registered driver’s license page.
The administrator can view a registered driver and generate a pdf or print out the
49
CHAPTER FIVE
5.0 Summary
which ranges from cars to buses and later to truck and heavy duty equipment.
Vehicle registration in Nigeria began over 100 years ago and the records have been
essentially manual which in turn is not helped to raise the efficiency of general
registration system is a must for any country that wants to be information and
communication technology inclined and ready to reduce the vehicle crime rate and
5.1 Conclusion
The understanding of the problems that very peculiar to vehicle registration system
was opened up also in the chapter one and three of this project these problems
the bigger the software are project the more probable it is that they face these
problems.
When the first computer was designed, the development of all that came after the
first computer is founded on the concept of the very first and now it has gone from
done so far.
Vehicle Registration in Nigeria began over 100 years ago and the records have
been essentially manual which in turn has not help to raise the efficiency of general
This is only focused on vehicle registration and inspection, and not on other
5.2 Recommendation
system with the mind of perfecting it and making it more useful in the real sense of
51
registration system is very crucial considering the prevention of vehicle crime and
52
Reference
[3] Balogun, S.A (2006). Road Safety Practice in Nigeria. Nigeria: Resources Nig
Ltd.
[4] Filani, M.O. (2002), “Mobility Crisis and the Federal Government’s Mass
Transit Programme” in Onakomaiya S.O. and Oyesiku O.O. (eds.). Environment,
Physical Planning and Development in Nigeria, Department of Geography and
Regional Planning, Olabisi Onabanjo University, Ago-Iwoye, Nigeria, pp. 37-51.
[5] Ikechukwu, D.N. (1995). Nigeria and Traffic Regulations. Ibadan: Africana
FEB publishers Ltd.
[6] Oyeyemi, B.O. (2003). Stands in Road Traffic Administration Ibadan: Clemeve
Media Konsult.
[8] O'Day, J., Goertz, M.E. & Floden, R.E. (1995, December). Building capacity
for education reform. CPRE Policy Briefs/Consortium for Policy Research in
Education. New Brunswick, NJ: Rutgers.
53
[9] Pfeffer, J. (1994) Competitive Advantage through People. Boston, MA:
Harvard Business School Press.
54
APPENDIX 1
The codes would be broken down into section for the different pages on the web
application.
</div>
include 'includes/header.php';
include 'includes/veh_include.php';
require 'includes/functions.php';
require 'includes/db-inc.php';
?>
<div class="jumbotron">
<h1 class="center-block">Plate</h1>
</div>
</div>
55
<div class="container">
<div class="panel-heading">
<div class="row">
<span class="input-group-addon">
</span>
</div>
</form>
</div>
</div>
56
<table class="table table-bordered">
<thead>
<tr>
<th>ID</th>
<th>FULLNAME</th>
<th>STATE</th>
<th>LGA</th>
<th>PLATE NO.</th>
</tr>
</thead>
<?php
while($row = mysqli_fetch_array($query)){
57
?>
<tbody>
<tr>
</button>
</a></td>
</button>
</a></td>
58
</tr>
</tbody>
<?php }
?>
</table>
// <a href='lendbook.php'>
// </a>
-->
</div>
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
</div>
<div class="modal-body">
60
<p>Are you sure you want to delete this book?</p>
</div>
</div>
</div>
</div>
<?php
session_start();
include 'includes/header.php';
require 'includes/functions.php';
require 'includes/db-inc.php';
$plateNumber = "";
if (isset($_GET['id'])) {
$_SESSION['id'] = $_GET['id'];
$id = $_SESSION['id'];
61
if(isset($_POST['submit'])){
$plateNumber = $_POST['plate_number'];
if($query2){
location.href ='plate.php';
</script>";
else {
</script>";
?>
<div class="jumbotron">
62
<h1 class="center-block">Assign</h1>
</div>
</div>
<div class="row">
<?php
while($row = mysqli_fetch_array($query)){
?>
<tbody>
63
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
64
<tr>
</tr>
<tr>
<td>
<div class="form-group">
<div class="col-sm-12">
</div>
</div>
</td>
</tr>
<tr><td></td></tr>
</tbody>
65
</table>
</div>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
66
<tr>
</tr>
<tr><td></td></tr>
</tbody>
</table>
</a>
</div>
</div>
</ <?php }
?>
<div class="form-group">
67
<div class="col-sm-12">
SUBMIT
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
68