0% found this document useful (0 votes)
5 views

Cwc Final Report

The document is a mini project report on the Cricket World Cup Database Management System, submitted by students Vardhan S and Roopesh N for their Bachelor of Engineering degree at Visvesvaraya Technological University. It outlines the project's objectives, which include managing cricket match schedules, player information, and team rankings, along with the technical details of the database design and implementation. The report includes sections on system design, schema diagrams, and acknowledgments, demonstrating the project's fulfillment of academic requirements for the DBMS laboratory course.

Uploaded by

Likitha.N
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Cwc Final Report

The document is a mini project report on the Cricket World Cup Database Management System, submitted by students Vardhan S and Roopesh N for their Bachelor of Engineering degree at Visvesvaraya Technological University. It outlines the project's objectives, which include managing cricket match schedules, player information, and team rankings, along with the technical details of the database design and implementation. The report includes sections on system design, schema diagrams, and acknowledgments, demonstrating the project's fulfillment of academic requirements for the DBMS laboratory course.

Uploaded by

Likitha.N
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

JNANA SANGAMA, BELAGAVI – 590 018

A Mini Project Report on

CRICKET WORLD CUP DATABASE MANAGEMENT


SYSTEM
Submitted in partial fulfillment of the requirements as a part of the DBMS Lab for the V
Semester of degree of Bachelor of Engineering in Information Science and
Engineering of Visvesvaraya Technological University, Belagavi

Submitted by

Vardhan S Roopesh N
1RN20IS179 1RN20IS196

Under the Guidance of

Guide: Faculty Incharge


Ms. Aishwarya G Dr. R Rajkumar
Assistant Professor Associate Professor
Dept. of ISE, RNSIT Dept. of ISE, RNSIT

Department of Information Science and Engineering


RNS Institute of Technology
Channasandra, Dr. Vishnuvardhan Road, RR Nagar Post,
Bengaluru – 560 098

2022 – 2023
RNS INSTITUTE OF TECHNOLOGY
Channasandra, Dr.Vishnuvardhan Road, RR Nagar Post,
Bengaluru – 560 098

DEPARTMENT OF INFORMATION SCIENCE AND ENGINEERING

CERTIFICATE

This is to certify that the Mini project report entitled CRICKET WORLD CUP DATABASE
MANAGEMENT SYSTEM has been successfully completed by VARDHAN S bearing USN
1RN20IS179 and ROOPESH N bearing USN 1RN20IS196, presently V semester student of
RNS Institute of Technology in partial fulfillment of the requirements as a part of the DBMS
Laboratory for the award of the degree Bachelor of Engineering in Information Science and
Engineering under Visvesvaraya Technological University, Belagavi during academic year
2022 – 2023. It is certified that all corrections/suggestions indicated for Internal Assessment
have been incorporated in the report deposited in the departmental library. The mini project
report has been approved as it satisfies the academic requirements as a part of DBMS Laboratory
for the said degree.

Ms. Aishwarya G Dr. R Rajkumar Dr. Suresh L


Assistant Professor Associate Professor Professor and HOD
Guide Faculty Incharge

External Viva

Name of the Examiners Signature with date

1.

2.

ii
DECLARATION
We, VARDHAN S [USN: - 1RN20IS179] and ROOPESH N [USN: - 1RN20IS196] students

of V Semester BE, in Information Science and Engineering, RNS Institute of Technology


hereby declare that the Mini project entitled Cricket World Cup Database Management
System has been carried out by us and submitted in partial fulfillment of the requirements for the
V Semesterdegree of Bachelor of Engineering in Information Science and Engineering of
Visvesvaraya Technological University, Belagavi during academic year 2022-2023.

Place:- Bangalore
Date: -

VARDHAN S
[1RN20IS179]

ROOPESH N
[1RN20IS196]

iii
ABSTRACT

Cricket World Cup Database Management is a cricket scheduling-based application


exclusively for the game of cricket. The Application features schedules, information about
teams, records of batting and bowling, creating new schedules, can search about players, it
displays rank tables for teams and players. The admin has all authorities to make changes
for the database so admin can add players, can add schedules, can add stadiums and also
have permission to removing of them from the database.

It features with searching of players involved in the game and retrieve the players of
the particular match by selecting match number. Also, can fetch the schedules with their
venue and squad available by the team, players selected for the current match. Admin can
also authority to update the rating of the teams and also player’s runs and wickets and other
match particulars in this database.

iv
ACKNOWLEDGMENT
The fulfillment and rapture that go with the fruitful finishing of any assignment would
be inadequate without the specifying the people who made it conceivable, whose steady
directionand support delegated the endeavors with success.

We would like to profoundly thank Management of RNS Institute of Technology for


providing such a healthy environment to carry out this Project work.

We would like to express my thanks to our Principal Dr. M K Venkatesha for his
supportand inspired me towards the attainment of knowledge.

We wish to place on record my words of gratitude to Dr. Suresh L, Professor and Head
of the Department, Information Science and Engineering, for being the enzyme and master
mind behind my Project work.

We would like to express my profound and cordial gratitude to my Lab In charge Dr.
R Rajkumar, Associate Professor, Department of Information Science and Engineering for
theirvaluable guidance, constructive comments and continuous encouragement throughout the
Project work.

I would like to express my profound and cordial gratitude to my Guide Ms. Aishwarya
G, Assistant Professor, Department of Information Science and Engineering for her valuable
guidance in preparing Project report.

I would like to thank all other teaching and non-teaching staff of Information Science
& Engineering who have directly or indirectly helped me to carry out the project work.

And lastly, I would hereby acknowledge and thank my parents who have been a source
of inspiration and also instrumental in carrying out this Project work.

VARDHAN S
[1RN20IS179]

ROOPESH N
[1RN20IS179]

v
TABLE OF CONTENTS

CERTIFICATE ii
DECLARATION iii

ABSTRACT iv

ACKNOWLEDGMENT v

TABLE OF CONTENTS vi

LIST OF FIGURES AND TABLES vii


ABBREVIATIONS viii

1. INTRODUCTION 1

1.1 Background 1

1.2 Introduction of the project 1

2. E R DIAGRAM AND RELATIONAL SCHEMA DIAGRAM 2

2.1 ER Diagram 2
2.2 Schema Diagram 2
2.3 Schema Description 3

3. SYSTEM DESIGN 4

3.1 Table Description 5


3.2 Stored Procedure 6
3.3 Triggers 6
4. IMPLEMENTATION 7
4.1 Front-end Development 7
4.2 Back-end Development 8
4.3 Discussion of code Segment 9
4.4 Discussion of Results 15
4.5 Application of project 19
5. CONCLUSION AND FUTURE ENHANCEMENT 20
5.1 Conclusion 20
5.2 Future Enhancement 20
REFERENCES 21

vi
LIST OF FIGURES AND TABLES

Figure. No. Descriptions Page


Figure. 2.1 E-R Diagram for Cricket World Cup DatabaseManagement System 02
Figure. 2.2 Relational Schema - Cricket World Cup ManagementSystem 02
Figure. 4.1 Homepage with login prompt 15
Figure. 4.2 Admin Login Page 15
Figure. 4.3 User Login Page 16
Figure. 4.4 Admin Home Page 16
Figure.4.5 User Home Page 20
Figure. 4.6 Scheduling of the matches 20
Figure. 4.7 Stadiums 21
Figure. 4.8 Cricket_Boards 21

Table No Descriptions Page


Table 3.1 Team 04

Table 3.2 Admin 04

Table 3.3 Login 04

Table 3.4 Schedule 04

Table 3.5 Stadium 05

Table 3.6 Cricket_boards 05

Table 3.7 Player 05


ABBREVIATIONS

API - Application Programming Interface


CSS - Cascading style sheets
DBMS - Database Management System
ER - Entity Relationship
HTML - Hypertext Markup Language
HTTP - Hypertext Transfer Protocol
ID - Identification
PHP - PHP Hypertext Pre-processor
SQL - Structured Query Language

viii
Chapter 1
INTRODUCTION
1.1 Background
A database is an organized collection of data, generally stored and accessed
electronically from a computer system. Where databases are more complex they are often
developed usingformal design and modeling techniques.
The database management system (DBMS) is the software that interacts with end
users, applications, the database itself to capture and analyze the data and provides facilities
to administer the database. The sum total of the database, the DBMS and the associated
applications can be referred to as a "database system". Often the term "database" is also
used to loosely refer to any of the DBMS, the database system or an application associated
with the database. The DBMS manages three important things: the data, the database engine
that allows data to be accessed, locked and modified and the database schema, which
defines the database’s logical structure. These three foundational elements help provide
concurrency, security, data integrity and uniform administration procedures. Typical
database administration tasks supported by the DBMS include change management,
performance monitoring/tuning and backup and recovery. Many database management
systems are also responsible for automated rollbacks, restarts and recovery as well as the
logging and auditing of activity.

1.2 Introduction of the project


Cricket World Cup Database Management is a cricket scheduling-based
application exclusively for the game of cricket. The Application features schedules,
information aboutteams, records of batting and bowling, creating new schedules, can
search about players, itdisplays rank tables for teams and players.

Cricket World Cup Database Management is a user-friendly Application whichis based


on HTML and CSS which helps members to schedule and manage various Cricket
Matches and also allows us to manage the records of various players. The application
uses HTML and CSS as a front end for interacting with the user and PHP for
connection. At backend we used MySQL for database.

Department of ISE, RNSIT 2022-2023 1


Chapter 2

E R DIAGRAM AND RELATIONAL SCHEMA DIAGRAM


2.1 ER Diagram

Figure 2.1: E-R Diagram for Cricket World Cup Database Management System
Entity relationship diagram displays the relationships of entity set stored in a database. In
other words, we can say that ER diagrams help you to explain the logical structure of
databases. At first look, an ER diagram looks very similar to the flowchart.

2.2 Schema Diagram

Figure 2.2: Relational Schema Diagram for Cricket World Cup Database Management
System

Department of ISE, RNSIT 2022-2023 2


18CSL58: DBMS Mini Project Report Cricket World Cup Database Management System

A schema contains schema objects, which could be tables, columns, data types, store
procedures, relationships, primary keys, foreign keys. A database schema can be representedin a
visual diagram, which shows the database objects and their relationship with each other.

2.3 Schema Description


The above Figure 2.2 shows the relational schema of Bus Reservation. It has the following entities:

1. PLAYERS: This table contains the database of Players and all their details. It has 13
columns: Player_name, Cap_no, Team_name, age, DOB, Wickets, Type,
No_of_matches, Rank, Batting best, Bowling best, Runs, Image. The primary key is
Player_name and Cap_no.

2. TEAMS: This table contains the database of Teams and all their details. It has 4 columns:
Team_name, Rank, Rating, and Flag. The primary key is Team_name.

3. CRICKET_BOARD: This table contains the database of cricket_board and all their
details. It has 5 columns: Board_name, Team, DOA, Chairman, and Flag. The primary
key is Board_name.

4. SCHEDULES: This table contains the database of Scheduling of the matches and all
their details. It has 5 columns: Match_no, Date, Team1 and Team2, Stadium. The primary
key is Match_no, Date.

5. STADIUMS: This table contains the database of Stadiums and all their details. It has 5
columns: Stadium_name, Board_name, DOI, Capacity, and Team. The primary key is
Stadium_name.

Department of ISE, RNSIT 2022-2023 3


Chapter 3

SYSTEM DESIGN
3.1 Table Description
TEAM:-
Table 3.1: TEAM

FIELD TYPE NULL? KEY DEFAULT

Name VARCHAR (30) NO PRIMARY NULL

Rank DECIMAL (5,0) NO NULL

Rating INT (11) NO NULL

Flag VARCHAR (40) NO PRIMARY NULL

ADMIN: -
Table 3.2: ADMIN

FIELD TYPE NULL? KEY DEFAULT

Username VARCHAR (50) NO PRIMARY NULL

Password VARCHAR (20) NO NULL

LOGIN: -
Table 3.3: LOGIN

FIELD TYPE NULL? KEY DEFAULT


Username VARCHAR (50) NO PRIMARY NULL
Password VARCHAR (20) NO NULL

SCHEDULES: -
Table3.4: SCHEDULES

FIELD TYPE NULL? KEY DEFAULT

Match_no DECIMAL (3,0) NO PRIMARY NULL

Date DATE NO PRIMARY NULL

Team1 VARCHAR (30) NO MUL NULL

Team2 VARCHAR (30) NO MUL NULL

Stadium_name VARCHAR (50) YES MUL NULL

Department of ISE, RNSIT 2022-2023 4


18CSL58: DBMS Mini Project Report Cricket World Cup Database Management System

STADIUMS: -
Table 3.5: STADIUMS

FIELD TYPE NULL? KEY DEFAULT


Stadium_name INT (100) NO PRIMARY NULL
Capacity VARCHAR (255) NO NULL
DOI VARCHAR (100) NO NULL
Board_name VARCHAR (100) NO PRIMARY NULL
Team VARCHAR (10) NO PRIMARY NULL

CRICKET_BOARDS: -
Table3.6:CRICKET_BOARDS

FIELD TYPE NULL? KEY DEFAULT


Board_name VARCHAR (50) NO PRIMARY NULL

Chairman VARCHAR (20) NO NULL

Team VARCHAR (30) NO PRIMARY NULL

DOA DATE NO NULL

Flag VARCHAR (40) NO NULL

PLAYER: -
Table 3.7: PLAYER

FIELD TYPE NULL? KEY DEFAULT


Cap_no DECIMAL (4,0) NO PRIMARY NULL
Age DECIMAL (2,0) NO NULL
DOB DATE NO NULL
Runs DECIMAL (5,0) NO NULL
Wickets DECIMAL (3,0) NO NULL
Type VARCHAR (20) NO NULL
No_of_matches DECIMAL (3,0) NO NULL
Rank DECIMAL (3,0) NO NULL
Batting_best VARCHAR (10) NO NULL
Bowling_best VARCHAR (10) NO NULL
Player_name VARCHAR (30) NO PRIMARY NULL
Image VARCHAR (30) NO NULL
Team_name VARCHAR (30) NO PRIMARY NULL

Department of ISE, RNSIT 2022-2023 5


18CSL58: DBMS Mini Project Report Cricket World Cp Database Management System

3.2 Stored Procedures


Stored procedures are like functions in C or java; it performs specific instructions like
Calculating, updating and storing automatically into the database.
In this project the stored procedure retrieves all values of Players.

DELIMITER $$

CREATE DEFINER=`root`@`localhost`

PROCEDURE`player` ()

NO SQL select * from player$$

DELIMITER;

3.3 Trigger
A trigger is a stored procedure in database which automatically invokes whenever a
specialevent in the database occurs. For example, a trigger can be invoked when a row is
insertedinto a specified table or when certain table columns are being updated.
In This project the trigger used here updates the DOI of stadium automatically:

CREATE TRIGGER `default_date`


BEFORE INSERT ON `stadiums`
FOR EACH ROW
setnew.DOI=CURRENT_ DATE ();
CREATE TRIGGER `update` BEFORE UPDATE ON `player`
FOR EACH ROW BEGIN
IF (new. Runs<old. Runs) THEN SET new. Runs =old. Runs;
IF (new.wickets < old.wickets) THEN SET new.wickets=old.wickets
END IF;
IF (new. no_of_matches <old. No_of_matches) THEN SET
new. no_of_matches=old. No_of_matches;
END IF;
END IF;
END

Department of ISE, RNSIT 2022-2023 6


Chapter 4
IMPLEMENTATION
4.1 Front-end Development
The front-end is built using a combination of technologies such as Hypertext
Markup Language (HTML) and Cascading Style Sheets (CSS). Front-end developers
design and construct the user experience elements on the web page or app including
buttons, menus, pages, links, graphics and more.

4.1.1 Hypertext Markup Language


HTML is a computer language devised to allow website creation. These websites can
thenbe viewed by anyone else connected to the Internet. It is relatively easy to learn, with
the basics being accessible to most people in one sitting; and quite powerful in what it
allows you to create. HTML is the standard markup language for creating Web pages. It
stands for Hyper Text Markup Language. It describes the structure of a Web page. It
consists of a series of elements. It elements tell the browser how to display the content. It
elements are represented by tags. HTML tags label pieces of content such as “heading”,
“paragraph”, "table", and so on. Browsers do not display the HTML tags, but use them to
render the content of the page.

4.1.2 Cascading style sheets


CSS stands for Cascading Style Sheets. It is a style sheet language which is used to
describethe look and formatting of a document written in markup language. It provides an
additionalfeature to HTML. It is generally used with HTML to change the style of web
pages and user interfaces. CSS is used along with HTML and JavaScript in most websites
to create user interfaces for web applications. Before CSS, tags like font, color, background
style, element alignments, border and size had to be repeated on every web page. This was
a verylong process. CSS solved that issue. CSS style definitions are saved in external CSS
files so it is possible to change the entire website by changing just one file. CSS provides
more detailed attributes than plain HTML to define the look and feel of the website.

Department of ISE, RNSIT 2022-2023 7


18CSL58: DBMS Mini Project Report Cricket World Cp Database Management System

4.1.3 JavaScript
JavaScript is a dynamic computer programming language. It is lightweight and most
used as a part of web pages, whose implementations allow client-side script to interact with
the user and make dynamic pages. It is an interpreted programming language with object-
oriented capability. Client-side JavaScript is the most common form of the language. The
script should be included in or referenced by an HTML document for the code to be
interpreted by the browser. It means that a web page need not be a static HTML, but can
include programs that interact with the user, control the browser, and dynamically create
HTML content. The JavaScript client-side mechanism provides many advantages over
traditional CGI server-side scripts. The JavaScript code is executed when the user submits
the form, and only if all the entries are valid, they would be submitted to the Web Server.
JavaScript can be used to trap user-initiated events such as button clicks, link navigation,
and other actions that the user initiates explicitly or implicitly. ADVANTAGES are: Less
server interaction, immediate feedback to the visitors, increased interactivity and richer
interfaces.

4.2 Back-end Development


Backend is server side of the website. It stores and arranges data, and also makes
sure everything on the client-side of the website works fine. It is the part of the website that
youcannot see and interact with. It is the portion of software that does not come in direct
contactwith the users. The parts and characteristics developed by backend designers are
indirectlyaccessed by users through a front-end application. Activities, like writing APIs,
creating libraries, and working with system components without user interfaces or even
systems ofscientific programming, are also included in the backend.

4.2.1 Backend scripting language - PHP (Hypertext Preprocessor)


PHP is used as the server-side scripting language. PHP is an acronym for "PHP:
Hypertext Preprocessor". PHP is a widely used, open-source scripting language. PHP
scripts are executed on the server. It is compatible with all servers used today. It is easy to
use and runs efficiently on the server side. It can run on various platforms like windows,
Linux, UNIX, Mac OS-X etc. and since it is a scripting language, it comes with predefined
functions which make it easy to implement any logic necessary.

4.2.2 Web Server – Apache


Apache is an open-source and free web server software that powers around 46% of
websites around the world. The official name is Apache HTTP Server, and it’s maintained
and developed by the Apache Software Foundation. It allows website owners to serve
Department of ISE, RNSIT 2022-2023 8
18CSL58: DBMS Mini Project Report Cricket World Cp Database Management System

content on the web — hence the name “web server”. Although we call Apache a web server,
it is not a physical server, but rather software that runs on a server. Its job is to establish a
connection between a server and the browsers of website visitors (Firefox, Google Chrome,
Safari, etc.) while delivering files back and forth between them (client-server structure).
Apache is cross-platform software; therefore, it works on both UNIX and Windows servers.

4.2.3 Database – MySQL


MySQL is a fast, easy-to-use RDBMS being used for many small and big businesses.
It is developed, marketed and supported by MySQL AB, which is a Swedish company. It
is released under an open-source license. So, you have nothing to pay to use it. It is a very
powerful program. It handles a large subset of the functionality of the most expensive and
powerful database packages. It uses a standard form of the well-known SQLdata language.
It works on many operating systems and with many languages including PHP, PERL, C,
C++, JAVA, etc. It works very quickly and works well even with large datasets. It is very
friendly to PHP, the most appreciated language for web development. MySQL supports
large databases, up to 50 million rows or more in a table. The default file size limit for a
table is 4GB, but you can increase this (if your operating system can handle it) to a
theoretical limit of 8 million terabytes (TB). It is customizable. The open-source GPL
license allows programmers to modify the MySQL software to fit their own specific
environments.

4.3 Discussion of Code Segment


This section talks about the important code sections and modules that are
implemented in the Cricket World Cup Database Management System project. These
modules add logic tothe complete system, and make it function the way it is supposed to.
It also talks about the integration between the front-end HTML code and the back end
MySQL database.

Department of ISE, RNSIT 2022-2023 9


18CSL58: DBMS Mini Project Report Cricket World Cup Database Management System

4.3.1 Login Module

User Login:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {font-family:cursive;background-repeat: no repeat;
background-size: 100%;
}
form {border: 0px solid #f1f1f1;}
h2{font-size: 50px;
text-align:center;
color: aqua;}
input[type=text], input[type=password] {
width: 20%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}
button1 {
background-color: #E6BAA2;
color: white;

padding: 10px 14px;


margin: 8px 0;
border: none;
cursor: pointer;
width: 10%;
}
button {
background-color: #9c26d6;
color: white;

Department of ISE, RNSIT 2022-2023 10


18CSL58: DBMS Mini Project Report Cricket World Cup Database Management System

padding: 14px 20px;


margin: 8px 0;
border: none;
cursor: pointer;
width: 10%;
font-family: cursive;
}
button:hover {
opacity: 0.8;
}
.cancelbtn {
width: auto;
padding: 10px 18px;
background-color: #f44336;
}
.imgcontainer {
text-align: center;
margin: 24px 0 12px 0;
}
img.avatar {
width: 40%;
border-radius: 50%;
}
.container {
padding: 16px;
}
span.psw {
float: right;
padding-top: 16px;
}
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
span.psw {
display: block;
float: none;
}
Department of ISE, RNSIT 2022-2023 11
18CSL58: DBMS Mini Project Report Cricket World Cup Database Management System

.cancelbtn {
width: 100%;
}
}
</style>
</head>
<body background="img/loginback.jpg">

<h2><i>User login</h2>

<form action="login.php" method="post">


<div class="imgcontainer">
</div>
<div class="container" style="text-align:center;">
<label for="uname"><b>Username</b></label>
<input type="text" placeholder="Enter Username" name="uname" required><br><br>
<label for="psw"><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="psw" required><br><br>
<button type="submit">Login</button>
</div>
</form>
<a href="create.html" ><b> <h5 style="text-align:center; color:black;"> CREATE AN
ACCOUNT</h5></b></a>
<a href="index.html"><button style="float:right;" type="button" >Back</button></a>
</body>
</html>

Admin Login:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="login.css">

<style>
body {font-family: Arial, Helvetica, sans-serif;background-repeat: no repeat;
background-size: 100%;
}
Department of ISE, RNSIT 2022-2023 12
18CSL58: DBMS Mini Project Report Cricket World Cup Database Management System

form {border: 0px solid #f1f1f1;}


h2{font-size: 50px;
text-align:center; }
input[type=text], input[type=password] {
width: 20%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}
button {
background-color: #9c26d6;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 10%;
}
button1 {
background-color: #E6BAA2;
color: white;
padding: 10px 14px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 10%;
}
button:hover {
opacity: 0.8;

}
button1:hover {
opacity: 0.8;
}
.cancelbtn {
width: auto;
padding: 10px 18px;
background-color: #f44336;
}
.imgcontainer {
text-align: center;
Department of ISE, RNSIT 2022-2023 13
18CSL58: DBMS Mini Project Report Cricket World Cup Database Management System

margin: 24px 0 12px 0;


}
img.avatar {
width: 40%;
border-radius: 50%;
}
.container {
padding: 16px;
align-content: flex-start;
}
span.psw {
float: right;
padding-top: 16px;
}
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
span.psw {
display: block;
float: none;
}
.cancelbtn {
width: 100%;
}
}
</style>
</head>
<body background="img/loginback.jpg" width:250px>
<h2 style="font-family: cursive;">
<br>Admin login</h2>
<form action="admin_login.php" method="post">
<div class="imgcontainer">
</div>
<div class="container" style="text-align:center;">
<label for="uname"><b>Name</b></label>
<input type="text" placeholder="Enter Name" name="uname" required><br><br>
<label for="psw"><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="psw" required><br><br>
<button type="submit">Login</button><br>>
</div>
</form>
<a href="index.html"><button style="float:right;" >Back</button></a>
</body>
</html>
Department of ISE, RNSIT 2022-2023 14
18CSL58: DBMS Mini Project Report Cricket World Cup Database Management System

Database Connect:
Before you can access data in a database, you must create a connection to the database. In
PHP, this
is done with the getConnection() function.
<?php $con=MySQL_connect ("localhost","root","","cricket");?>

4.4 Discussion of Results

Figure 4.1 Homepage with login prompt

The above Figure 4.1 is the snapshot of the homepage with the login prompts of user
And admin.

Figure 4.2: Admin Login Page

In the above Figure 4.2, it shows admin login page which gives authentication to enter
into the admin page.

Department of ISE, RNSIT 2022-2023 15


18CSL58: DBMS Mini Project Report Cricket World Cup Database Management System

Figure 4.3: User Login Page

The above figure 4.3 it shows user login page which gives authentication to enter the Userpage.

Figure 4.4: Admin Home Page

In the above Figure 4.4, shows window which allows adding and deleting of players, stadiums,
schedules andcan view schedules, rankings, stadiums, cricket boards and about page.

Department of ISE, RNSIT 2022-2023 16


18CSL58: DBMS Mini Project Report Cricket World Cup Database Management System

Figure 4.5: User Home Page

In the above Figure 4.4, shows the user side of the website. Here the user can view schedules, rankings,
stadiums, cricket boards and about page. The user can also Search for the player information.

Figure 4.6: Scheduling Of the Matches

In the above Figure 4.6, shows the Scheduling of the matches. Here the Admin and User can view the
match_no, Date of the matches, Team1 and Team2 and their respective flags.

Department of ISE, RNSIT 2022-2023 17


18CSL58: DBMS Mini Project Report Cricket World Cup Database Management System

Figure 4.7: Stadiums

In the above Figure 4.7, shows the present Stadiums. Here the Admin and User can view the
Stadium_Names, Capacity of the Stadium, DOI, Board_Name and Team’s Stadium.

Figure 4.8: Cricket_Boards

In the above Figure 4.8, shows the Cricket_Boards and their details, here the Admin and User can view
the Board_name, Chairman_Name, DOA and Flags.

Department of ISE, RNSIT 2022-2023 18


18CSL58: DBMS Mini Project Report Cricket World Cup Database Management System

4.5 Application of project


Major applications of Cricket World Cup Database Management System are:
➢ Helps cricket clubs to register members online.

➢ Allows cricket clubs to allow users to book ground online.

➢ Automates the working of cricket club activities.

➢ No professional knowledge required.

➢ System will have maintained club as well as player record.

Department of ISE, RNSIT 2022-2023 19


Chapter 5
CONCLUSION AND FUTURE ENHANCEMENT
5.1 Conclusion
The project developed using PHP and MySQL is based on the requirement
specification of the user and the analysis of the existing system, with flexibility for future
enhancement. The expanded functionality of today’s software requires an appropriate
approach towards software development. This World cup database management software
is designed for people who want to manage various particulars can be known by recording
them in the database. Various records and particulars about match got increased rapidly.
Thereby the numbersof matches and there is going to be increased day-by-day. And hence
there is a lot of strain on the person who are watching the World cup to know about future
matches and to see the records done by various players and getting details in fingertips.
Identification of the drawbacks of the existing system leads to the designing of
computerized system that will be compatible to the existing system with the system which
is more users friendly and more GUI oriented.

5.2 Future Enhancement


The current project is just based on taking the information and storing in respective
data tables and representing the information in the different required forms and can search
using the attribute. Thereare some enhancements which can be implemented further. They
are as follows:
• Module that automatically gives the information about various cricket boards, stadiums and
rankingsof various World cup teams and players by selecting or entering the relevant required
item.
• Module that gives information about filled and partially filled information on various particulars.

• Can create module such that the user can login and gain information through the window.

• Make this project to the scope for players also.

Department of ISE, RNSIT 2022-2023 20


REFERENCES
[1] Raghu Ramakrishnan and Johannes Gehrke, Database Management Systems,McGRAW
HILL, 3rd Edition.
[2] Ramez Elmasri and Shamkant B. Navathe, Fundamentals of Database Systems,Pearson, 7th
Edition.
[3] http://www.w3schools/php.com
[4] http://www.w3schools/html.com
[5] http://www.w3schools/css.com
[6] http://www.phpknowhow.com/basics/working-with-xampp
[7] https://stackoverflow.com/questions/5121027/fatal-error-call-to-a-member- function-
fetch-assoc-on-a-non-objectwww.mysql.com/doc
[8] https://azure.microsoft.com/en-us/free/students/
[9] https://www.geeksforgeeks.org/dbms/

Department of ISE, RNSIT 2022-2023 21

You might also like