Prathyusha DBMS
Prathyusha DBMS
ON
SUBMITTED BY:
MD ISMAIL
[1DB22IS409]
Under the guidance of:
Mrs. Nivedita Hebbable
Assistant Professor
Dept. of Information Science and Engineering
Kumbalagodu, Bengaluru-560074
VISHVESVARAYA TECHNOLOGICAL UNIVERSITY JNANA
SANGAMA, BELAGAVI-590018.
Kumbalagodu, Bengaluru-560074
Certificate
This is to certify that the Mini Project Report entitled “GYM MANAGEMENT
External Viva
2.
ACKNOWLEDGEMENT
At the various stages in making the mini project, a number of people have given me invaluable
comment on the manuscript. I take this opportunity to express my deepest gratitude and
appreciation to all those who helped me directly or indirectly towards the successful completion
of this project.
I express our whole hearted gratitude to Dr. B. K. RAGHAVENDRA, Professor and Head of
Department of Information Science and Engineering. I wish to acknowledge for his valuable
help and encouragement.
In this regard I owe a heartfelt gratitude to our guide Mrs. Nivedita Hebbale Assistant
Professor, Department of Information Science and Engineering, DBIT, Bengaluru for her
constant help and support extended towards us during the course of the project.
I would also like to thank the teaching and non teaching staff members of Department of
Information Science and Engineering for their corporation.
MD ISMAIL
(1DB22IS409)
ABSTRACT
The main aim and objective were to plan and program system application. We justify to apply
the best software engineering practice for system application. I developed a “Gym Management
System” using HTML and SQL. This project provides a platform to store the details of gyms,
payment areas, trainers and members. And in dynamic way of accessing the data of gyms,
payment areas, trainers and members, maintaining in real time basis and upgrading the
information. To know the information of the above mentioned, it is necessary to have a database
used to store all these details. This mini project is done to obtain the above statement and update
the details in real time. This project also reduces the work of manually storing details and
messing up things. And the tools used to design and develop this useful project are SQL in PHP
for backend and HTML and CSS for frontend. This mini project is an excellent solution for
gyms with large or growing number of members, or ones serving elite clientele. This solution
helps to identify the user and manage the timely memberships.
CONTENTS
CHAPTERS
PAGE NO
1. INTRODUCTION. 1-2
1.1 Aim.
1.2 Objective
1.3 Scope
1.4 Advantages/Disadvantages.
1.5 Technology Used
1.6 System Requirements
2. OBJECTIVES.
3
3. ER DIAGRAM. 4
4. SCHEMA DIAGRAM. 5
7. SNAPSHOTS. 13-22
7.1 Login page 13
7.2 Home page 14
7.3 Add Gym Operation 14
7.4 View Gym Operation 15
7.5 Update and Delete Gym Operation 16
7.6 Add Payment Area Operation 16
7.7 View Payment Area Operation 17
7.8 Update and Delete Payment Area Operation 18
8. CONCLUSION. 23
9. REFERENCES 24
Gym Management System DBMS MINI PROJECT
INTRODUCTION
Chapter-1
Gym Management System developed using PHP is an excellent solution for gyms with a
large/growing number of members, or ones serving elite clientele. This solution helps to
identify the user and manage their timely memberships.
In its working, each member is issued a membership card which is valid for a fixed
number of gym sessions, or for a particular period of time, or a combination of the two, totally
based on the payment policy. Once the time-frame or number of sessions expire, the machine
notifies the member about the payment of renewal.
Hence, the system reduces hassle and any chances of quarrels between the members and
the gym management. It can also generate multiple reports like monthly, weekly, daily, session
wise.
1.1 Aim
The main aim of designing this project is to get rid from manual entry and record
system and try to give easy and simple database management system for Gym
Management.
1.2 Objective
The main objective of this DBMS mini project is to construct good quality and
dynamic management system, in which this database is used to store the details of
1.3 Scope
The software product “Gym Management System” will be an application that will be
Used for maintaining the records in an organized manner and to replace old paper work
system. This project aims at automating the gym related details for smooth working of
the database by automating almost all the activities. Updations and modifications will
be easily achievable and all the calculations and accounting work will be accurate.
1.4 ADVANTAGES/DISADVANTAGES
1.4.1 Advantages
1.4.2 Disadvantages
Dept. of
Chapter-2
OBJECTIVES
• Update and delete different values of gyms, payments made, gym member’s
details and trainer’s information.
Chapter-3
ER DIAGRAM
5
Gym Management System DBMS MINI PROJECT
______________________________________________________________________________________________
_
Chapter-4
SCHEMA DIAGRAM
The figure shows the representation of Schema diagram of Gym Management System. It contains
all the tables used in this mini project and these tables are connected to each other with respect to
primary keys and foreign keys. Here primary keys are represented by underlining it and foreign
keys are connected to the table of that particular primary key is present.
Dept. of 6
Gym Management System DBMS MINI PROJECT
______________________________________________________________________________________________
_
ISE, DBIT 2023-24
Chapter-5
DATA TABLES
LoginTable
GYM Table:
Payment Table:
Dept. of 7
Gym Management System DBMS MINI PROJECT
Dept. of 8
Gym Management System DBMS MINI PROJECT
Trainer Table:
Member Table:
Dept. of 9
Gym Management System DBMS MINI PROJECT
ISE, DBIT 2023-24
Chapter-6
SOURCE CODES
6.1 INSERT STATEMENTS:
VALUES ('$gym_id','$name','$address','$type')";
Dept. of ISE 10
, DBIT 2023-24
Gym Management System DBMS MINI PROJECT
$inf=$_GET['id'];
pay_id=(select pay_id from payment where gym_id=(select gym_id from gym where gym_id='$inf')))";
$sql_query_mem=mysqli_query($conn,$sql_member); if($sql_query_mem) {
$sql_query_trainer=mysqli_query($conn,$sql_trainer);
}else{
echo "not delted";
} if ($sql_query_trainer)
{
$sql_querypayment=mysqli_query($conn,$sql_payment);
Dept. of ISE 11
Gym Management System DBMS MINI PROJECT
, DBIT 2023-24
Dept. of ISE 12
Gym Management System DBMS MINI PROJECT
$delete=mysqli_query($conn,$sql_query);if
($delete){ header("location:home.php?info=manage_gym");}else{echo
}
UPDATE STATEMENTS:
if (isset($_REQUEST['gym'])) {
$update_sql=mysqli_query($conn,$update_query);
$res=mysqli_fetch_assoc($con);
Dept. of ISE 13
Gym Management System DBMS MINI PROJECT
, DBIT 2023-24
Gym Management System DBMS MINI PROJECT
"<td>".$row['gym_name']."</td>";
echo "<td>".$row['address']."</td>";
Dept. of ISE 14
, DBIT 2023-24
Chapter-7
SNAPSHOTS
Dept. of ISE 15
Gym Management System DBMS MINI PROJECT
, DBIT 2023-24
This is the home page. The operations included in this page are add and view for each of the
entities i.e gym, payment department, members and trainers. The admin can even logout of the
session anytime by pressing the log out icon.
Dept. of ISE 16
, DBIT 2023-24
Dept. of ISE 17
Gym Management System DBMS MINI PROJECT
, DBIT 2023-24
Dept. of ISE 18
Gym Management System DBMS MINI PROJECT
, DBIT 2023
Dept. of 2023-24 26
Gym Management System DBMS MINI PROJECT
ISE, DBIT
Chapter-8
CONCLUSION
The Mini Project “Gym Management System” is designed in order reduce the burden of
maintaining bulk of records of gyms and their details in which Inserting, Retrieving and
updating the Details are easy when it is compared to the manual update and storing. This project
helps in maintaining the gym-related details in an Organized manner and to replace old paper
work system.
While developing this mini project we have learnt a lot about HTML/CSS/JS/PHP/MySQL and
working with database management, we have also learnt how to make the application user-
friendly (easy to use and handle) by hiding the complicated parts of it from the users.
Chapter-9
REFERENCES
*. https://getbootstrap.com/docs/4.0/
*. https://www.w3schools.com/sql
*. https://stackoverflow.com/
*. https://code.visualstudio.com/docs/languages/html
*. https://www.apachefriends.org/xampp