Driving School Monitoring System
Driving School Monitoring System
Driving School Monitoring System
A project report submitted in partial fulfillment of the requirements for the award of the
Degree of
Submitted by
TAMILARASU.B
(Reg.No:161CT154)
Dr.P.Iswarya M.Sc.,Ph.D.,
March-2019
DEPARTMENT OF COMPUTER TECHNOLOGY
TAMILARASU.B
Submitted in partial fulfillment of the requirements for the award of the degree of
__________________ ____________________
_______________ _______________
________________________________________________________
DECLARATION
PLACE: Coimbatore
DATE: (TAMILARASU.B)
ACKNOWLEDGEMENT
________________________________________________________
ACKNOWLEDGEMENT
I would like to thank the Head of the Department Mrs.D.Maheswari M.Sc, M.Phil,
Ph.D., for his encouragement and motivation in carrying out my work successfully.
I extend my science thanks to all the staff members of the Department of Computer
Technology for their support and guidance.
I wish to thank my parents and friends for their support and encouragement
throughout the work.
CONTENT
___________________________________________________________________________
TABLE OF CONTENTS
1
INTRODUCTION
_____________________________________________
2
1. INTRODUCTION
1.1 Overview of the Project
In today’s world, driving has become one of the most important human need rather
than a luxury. With such kind of thinking driving schools have emerged all over the country
to train professional and nonprofessional drivers to meet the ever growing demand for more
drivers.
While there exists such kind of demand, observation has shown that most of these
schools don’t have proper systems in place to manage such kind of training schools as most
of these schools usually use manual systems which have several problems as opposed to
today’s world which needs well managed COMPUTER systems to help in such
environments.
As such, The “ DRIVING SCHOOL MONITORING SYSTEM “ system is to be
developed to replace such COMPUTER system in order to provide a better controlled and
efficient environment which will meet the needs of the day’s services.
Instructors:
The function is responsible for scheduling classes known as Instructors File.
Accounts:
This function is responsible for the collection and monitoring of tuition fees
payments, it is known as Fees Filed.
2. SYSTEM SPECIFICATION
COMPONENT REQUIREMENT
RAM : 2 GB
COMPONENT REQUIREMENT
SYSTEM ANALYSIS
__________________________________________________________________________________
5
3. SYSTEM ANALYSIS
Driving School Monitoring System contains numerous features that can help
driving schools run their business more efficiently.
One great advantage this software offers is its scalability and flexibility for
data management. Using this software admin will be able to manage the most
important aspects of business using single software.
6
3.3. SOFTWARE DESCRIPTION
DEFINITION
The Web server accepts the request and sends the HTML to the Client browser that
requests it. Web browser and web server communicate through a common protocol (HTTP).
The examples for web server are XAMPP(any of four different operating
systems,Apache,MySQL,Php,Perl),WAMP(Windows,Apache,MySQL,Php),MAMP(Macinto
sh, Apache, MYSQL, PHP).
PHP:
PHP stands for Hypertext Pre-processor. PHP scripts run inside Apache server or
Microsoft IIS. PHP and Apache server are free. PHP code is very easy. PHP is the most used
server side scripting language. PHP files contain PHP scripts and HTML. PHP files have the
extension “php”, “php3”, “php4”, or “html”.
Using PHP
Generate dynamic web pages. PHP can display different content to different user or
display different content at different times of the day Process the contents of HTML forms.
We can use a PHP to retrieve and respond to the data entered into an HTML form.
Unqualified name, or an unprefixed class name like $a = new foo (); or foo::static method ();
If the current namespace is current namespace, this resolves to current namespace\foo. If the
code is global, non-namespaced code, this resolves to foo. One caveat: unqualified names
functions. 7
BACK – END (MYSQL)
A database is simply a collection of used data just like phone book. MYSQL
database include such objects as tables, queries, forms, and more.
In MYSQL tables are collection of similar data. With all tables can be organized
differently, and contain mostly different information- but they should all be in the same
database file. For instance we may have a database file called video store. Containing tables
named members, tapes, reservations and so on. These tables are stored in the same database
file because they are often used together to create reports to help to fill out on screen forms.
Relational database:
MYSQL is a relational database. Relational databases tools like access can help us
manage COMPUTER in three important ways.
Reduce redundancy
The ‘MYSQL’ database server is very fast, reliable and easy to use. If that
is what is what you are looking for, you should try it. ‘MYSQL’ server also has a particle set
features developed in close cooperation with users.
MySQL is globally renowned for being the most secure and reliable database management
system used in popular web applications including WordPress, Drupal, Joomla, Facebook and
Twitter. The data security and support for transactional processing that accompany the recent
version of MySQL can greatly benefit any business, especially if it is an ecommerce business
that involves frequent money transfers.
8
SYSTEM DESIGN AND DEVELOPMENT
________________________________________________________________
9
4.1 INPUT DESGIN:
Input design is the process of connecting the user-originated inputs into a computer to
used format. The goal of the input design is to make the data entry logical & free from errors.
Errors in the input database controlled by input design.
The goal of designing input data is to make data entry as easy, logical and error free
from errors as possible. In entering data, operators need to know the following:
Admin Module, Candidate Module, License Module, Driver Module, Payment
Module, Expense Module
This activity deals with the design of the physical database. A key is to determine how
the access paths art to be implemented.
10
4.4 SYSTEM MODULE DESCRIPTION :
The “Driving School Monitoring System” contains following modules.
Admin Module
Candidate Module
License Module
Driver Module
Payment Module
Expense Module
DESCRIPTION OF MODULES
Admin Module
The module enables the admin people to create and modify the login id and
password. This login creation is useful to access candidate, Driver, payment and expense
details. When authorized person gives valid login id and password, he can access those
details.
Candidate Details
In the candidate module, the admin people can enter the new candidate details
(name of the candidate, address, contact number, mail id, date of birth, gender, and date of
joining). Here the Candidates details are stored by the category wise. And all authorized
people can view the candidate details also.
License Module
This module stores the license candidate details. Admin people can update license
details of students. It also maintains received license list, applied license list, and issued
license list. It will be helpful to view whose license is applied and issued.
11
Driver Module
This module has the Driver details such as driver id, name, address, contact details,
Department, qualification, salary, license no. and etc… Admin people can add, update and
remove the driver details.
Here the attendance of the candidate will be updated. Using this module, the admin
dept. may know the attendance and who are taking leave by date wise. This also helps to
make examine of the attendance calculations.
Payment Module
This module maintains payment details of all students. Using this module, admin
people can view payment details in daily basis, monthly basis. They can also modify these
details.
Expense Module
This module maintains expense details. Using this module, admin people can view
expense details in daily basis, monthly basis. They can also modify these details.
12
SYSTEM TESTING AND IMPLEMENTATION
________________________________________________________________
13
System testing is process of exercising software with the intent of finding and
ultimately correcting errors.
System testing is actually a series of different tests whose primary purpose is to fully
exercise the computer based system. System testing is the state of implementation that is
aimed at assuring that the system works accurately and efficiently. Testing is the vital to the
success of the system. System testing makes the logical assumption that if all the parts of the
system are correct, the goal will be successfully achieved.
Testing is the process of executing a program with the intent of finding an error.
A successful test is that one of the cover of undiscovered error.
TESTING ISSUSE:
TESTING METHODOLOGIES:
System testing is the state of implementation, which is aimed at ensuring that the
system works accurately and efficiently as expect before live operation commences. It
certifies that the whole set of programs hang together. System testing requires a test plan that
consists of several key activities and steps for run program, string, system and user
acceptance testing. The implementation of newly designed package is important in adopting a
successful new system.
14
Unit testing focuses verification effort on the smallest unit of software each of
the modules was verified individually for errors. This is known as module testing. The testing
was carried out during programming stage itself, sample data is given for unit testing. The
unit results are recorded for further reference.
This is to verify that all the system elements have been properly integrated and
perform allocated functions. Testing executes a program to test the logic changes made in it
and with intention of finding errors. Tests are also conducted to find discrepancies between
system and its original objective, current specification and documents.
15
Implementation is the stage in the project where the theoretical design is turned into a
working system. The most crucial stage is achieving a successful new system & giving the
user confidence in that the new system will work efficiently & effectively in the
implementation state.
IMPLEMENTATION PROCESS:
The implementation phase is less creative than system design. A system project may
be dropped at any time prior to implementation, although it becomes more difficult when it
goes to the design phase.
The final report to the implementation phase includes procedural flowcharts, record
layouts, report layouts, and a workable plan for implementing the candidate system design
into an operational one. Conversion is one aspect of implementation. Several procedures of
documents are unique to the conversion phase. They include the following,
16
Parallel processing between the existing and the new system are logged on a
special form.
17
CONCLUSION
______________________________________________________________
18
6. CONCLUSION:
The candidate details are fully systemized so the updating and insertion process
become easy .The processing time also minimized. License details received from the
candidate to maintain the COMPUTER of course completion. Attendances of Driver were
entered day by day it leads the process of calculating salary to the Driver.
The reports can be generated based on the requirement given by the admin and
retrieve the same easily such as expenses, payments, Driver attendance status, candidate fees
status, license issued details etc., the system helps the user to overcome the difficult of
maintaining the ledger and notebooks.
19
BIBLIOGRAPHY
________________________________________________________________
20
7. BIBILIOGRAPHY:
BOOK REFERENCES
Head First PHP & MYSQL, By Lynn Burghley and Michael Morrison
WEB REFERENCE
www.w3schools.com
www.php.net/manual/en/tutorial.php
www.tutorialspoint.com
www.tizag.com/php
www.codecademy.com/tracks/php
21
APPENDICES
________________________________________________________________
22
8. APPENDICES
Admin Report
Driving
School
LEVEL 1:
LOGIN FORM:
Admin
Admin table
23
CANDIDATE DETAIS:
Candidate
details
Add
Delete Update
View
Candidate Table
24
LEVEL 2:
LICENSE DETAILS:
License
details
Apply Issue
License License
View
License Table
25
LEVEL 3:
PAYMENT DETAILS:
Payment
details
Add Update
Delete
View
Payment Table
26
LEVEL 4:
EXPENSE DETAILS:
Expense
details
Add Update
Delete
View
Expense Table
27
B.ER DIAGRAM
29
Primary Key:Dri_id
30
31
A. SAMPLE CODING:
32
</div>
<div class="input-group">
<p>Forgot your password?
<a href="fgpass.php">Click Here!!</a></p>
</div>
</form>
</body>
</html>
<?php include('loginserver.php'); ?>
<?php
$name="";
$errors = array();
$con=mysqli_connect('localhost','root','','dsms');
if (isset($_POST['submitu'])) {
$name=$_POST['namesearch'];
if (Drity($name)) {
array_push($errors, "Enter name to filter");
}
if (count($errors)==0) {
$resu=mysqli_query($con,"SELECT * FROM candidate
WHERE name='$name'");
}
else {
$resu=mysqli_query($con,"SELECT * FROM candidate");
}
}
else {
33
$resu=mysqli_query($con,"SELECT * FROM candidate");
}
if (isset($_POST['clearu'])) {
$resu=mysqli_query($con,"SELECT * FROM candidate");
}
if (isset($_GET['deluser'])) {
$id=$_GET['deluser'];
mysqli_query($con,"DELETE FROM candidate WHERE id=$id");
header("Location: candidate.php");
}
if (isset($_GET['exit'])) {
if (isset($_SESSION['username'])) {
$username=$_SESSION['username'];
$result=mysqli_query($con,$query);
while ($row=mysqli_fetch_array($result)) {
if ($row['username']==$username &&
$row['type']=='Admin') {
header("Location: admin.php");
}
}
}
}
?>
34
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Candidate List</title>
<link rel="stylesheet" type="text/css"
href="StyleSheets/stylecandidate.css">
</head>
<body>
<form method="POST" action="candidate.php" class="candi">
<?php if (isset($_POST['submitu'])): ?>
<?php include('errors.php'); ?>
<?php endif ?>
<br>
<label>Name:</label>
<input type="text" name="namesearch" class="namesearch"
value="<?php echo $name; ?>">
<button type="submit" class="date_btn"
name="submitu">Submit</button>
<button type="submit" class="date_btn"
name="clearu">Clear</button>
</form>
<table>
<thead>
<tr>
<th>S.No</th>
<th>Name</th>
<th>Address</th>
<th>Age</th>
<th>Contact No</th>
<th>Email</th>
<th>Gender</th>
<th>DOJ</th>
<th colspan="2">Action</th>
</tr>
35
</thead>
<tbody>
<?php $i=1; while ($row=mysqli_fetch_array($resu))
{
$date=date_create($row['doj']); ?>
<tr>
<td><?php echo($i); ?></td>
<td><?php echo $row['name']; ?></td>
<td><?php echo $row['address']; ?></td>
<td><?php echo $row['age']; ?></td>
<td><?php echo $row['phone']; ?></td>
<td><?php echo $row['email']; ?></td>
<td><?php echo $row['gender']; ?></td>
<td><?php echo date_format($date,"d-
M-y"); ?></td>
<td><a href="candidateedit.php?id=<?
php echo($row['id']); ?>">Update</a></td>
<td><a href="candidate.php?deluser=<?
php echo($row['id']); ?>">Delete</a></td>
</tr>
<?php $i++; } ?>
</tbody>
</table>
<button type="submit" class="btnclose" name="exit"><a
href="candidate.php?exit='1'">Exit</a></button>
</body>
</html>
<?php include('loginserver.php'); ?>
<?php
$name="";
$errors = array();
$con=mysqli_connect('localhost','root','','dsms');
36
if (isset($_POST['submitu'])) {
$name=$_POST['namesearch'];
if (Drity($name)) {
array_push($errors, "Enter name to filter");
}
if (count($errors)==0) {
$resu=mysqli_query($con,"SELECT * FROM payment
WHERE name='$name'");
}
else {
$resu=mysqli_query($con,"SELECT * FROM payment");
}
}
else {
$resu=mysqli_query($con,"SELECT * FROM payment");
}
if (isset($_POST['clearu'])) {
$resu=mysqli_query($con,"SELECT * FROM payment");
}
if (isset($_GET['exit'])) {
if (isset($_SESSION['username'])) {
$username=$_SESSION['username'];
$result=mysqli_query($con,$query);
while ($row=mysqli_fetch_array($result)) {
if ($row['username']==$username &&
37
$row['type']=='Admin') {
header("Location: admin.php");
}
}
}
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Payment Details</title>
<link rel="stylesheet" type="text/css"
href="StyleSheets/stylecandidate.css">
</head>
<body>
<form method="POST" action="paymentdetail.php"
class="candi">
<?php if (isset($_POST['submitu'])): ?>
<?php include('errors.php'); ?>
<?php endif ?>
<br>
<label>Name:</label>
<input type="text" name="namesearch" class="namesearch"
value="<?php echo $name; ?>">
<button type="submit" class="date_btn"
name="submitu">Submit</button>
<button type="submit" class="date_btn"
name="clearu">Clear</button>
</form>
<table>
<thead>
<tr>
38
<th>S.No</th>
<th>Candidate Name</th>
<th>Bill No</th>
<th>Bill Date</th>
<th>Amount</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<?php $i=1; while ($row=mysqli_fetch_array($resu))
{
$billdate=date_create($row['billdate']); ?>
<tr>
<td><?php echo($i); ?></td>
<td><?php echo $row['name']; ?></td>
<td><?php echo $row['bill']; ?></td>
<td><?php echo
date_format($billdate,"d-M-y"); ?></td>
<td><?php echo $row['amount']; ?></td>
<td><a href="paymentedit.php?id=<?php
echo($row['id']); ?>">Update</a></td>
</tr>
<?php $i++; } ?>
</tbody>
</table>
<button type="submit" class="btnclose" name="exit"><a
href="paymentdetail.php?exit='1'">Exit</a></button>
</body>
</html>
39
B. SAMPLE OUTPUT:
Login From:
40
Candidate Entry:
Driver Entry:
41
Attendance Entry:
Attendance Details:
42
License Details:
Payment Entry:
43
Payment Details:
Expense Entry:
44