Php micro
Php micro
Submitted by
Mr. Prasad Bibhishan Shinde
Mr. Sarthak Bapurao Bankar
Mr. Prasad Uttam Pangarkar
Mr. Yash Sachin Ghadage
[Academic Year]
(2024-2025)
1
Shivnagar Vidya Prasarak Mandal’s
CERTIFICATE
This is to certify that Micro Project work report entitled Gym Management
System submitted in partial fulfillment of required for the Diploma in
Computer Engineering by Maharashtra State Board of Technical
Education Mumbai51, as a record of student own work carried out by them.
Submitted by
Mr. Prasad Bibhishan Shinde
Mr. Sarthak Bapurao Bankar
Mr. Prasad Uttam Pangarkar
Mr. Yash Sachin Ghadage
2
ANNEXURE II
Evaluation Sheet for the Micro Project
Academic Year: 2024-25 Name of Faculty: Prof. Kadam S.S.
Course : Web Based Application Development with php Course Code:22619 Semester: 6th
Title of the Project : Gym Management System
COs adresses by the Micro Project :
A……………………………………………………………………………………………………………………………………………………
B………………………………………………………………………………………………………………………………………………….
C……………………………………………………………………………………………………………………………………………………
D…………………………………………………………………………………………………………………………………………………..
Major Learning Outcomes achieved by students by doing this Project :
(a) Practical Outcomes :……………………………………………………………………………
…………………………………………………………………………………………………..
3
Gym Management System
Abstract
The Gym Management System is a PHP-based web application designed to
streamline the administration and operation of gym facilities. This system
automates key processes such as member registration, trainer allocation, fee
management, attendance tracking, and workout scheduling. Built using PHP and
MySQL, the application offers a user-friendly interface that enables gym owners
and staff to manage client data efficiently, monitor membership status, and ensure
timely fee payments.
The project includes features for both admin and member roles. Administrators can
add and manage plans, trainers, packages, and schedules, while members can view
assigned workouts, payment history, and attendance records. The system enhances
operational transparency and improves overall service quality by digitizing manual
processes.
This management system is especially suited for small to medium-sized gyms
aiming to modernize their operations. Its modular design ensures scalability, while
the use of open-source technologies makes it cost-effective and easy to maintain.
INTRODUCTION
4
In today's fast-paced world, people are becoming more health-conscious and are
regularly joining gyms to stay fit. As the number of members increases, it becomes
difficult for gym owners to manage all the data manually. Traditional methods of
maintaining registers for attendance, payments, and workout schedules are time-
consuming, error-prone, and inefficient.
To solve this problem, the Gym Management System has been developed as a
web-based application that helps gym owners and staff manage daily activities in a
simple and organized manner. This system is built using PHP and MySQL, which
are open-source technologies. It includes features like member registration, fee
management, attendance tracking, trainer assignments, and workout scheduling.
The main objective of this project is to automate gym operations, reduce
paperwork, and improve overall management. With a user-friendly interface, the
system can be used by admins and staff without any technical knowledge. It ensures
accuracy, saves time, and helps provide better service to gym members.
KeyFeatures:
5
1. Member Registration: Allows staff to register new members by collecting
necessary details such as personal information, contact details, health history,
and preferences.
6
9. Reporting and Analytics: Generates reports and analytics on key
performancemetrics such as membershipgrowth,revenuetrends, member
retention, and trainer effectiveness, aiding in strategic decision-making.
7
Need Of Gym Management System
8
expanded services, while remaining flexible enough to adapt to changing
business requirements.
Overall, the gym management system is indispensable for modern fitness facilities
seeking to streamline operations, enhance member satisfaction, and drive business
success in a competitive marketand has a socket that is bound to a specific port
number. The server just waits, listening to the socket for a client to make a
connection request.
Database Connection:
This script establishes a secure connection to a MySQL database using
PDO.
<?php
ob_start();
//DB Connection
define('DB_HOST','localhost');
define('DB_USER','root');
define('DB_PASS','');
define('DB_NAME','gymdb');
// Establish database connection.
try
{
$dbh = new PDO("mysql:host=".DB_HOST.";dbname=".DB_NAME,DB_USER,
DB_PASS,array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES
'utf8'"));
}
catch (PDOException $e)
{
exit("Error: " . $e->getMessage());
}
9
User Module:
The User Module is designed for regular members of the gym to interact with the
system. Users can register by providing their personal details such as name, email,
contact number, and password. Once registered, they can log in securely using their
credentials. After logging in, users are directed to their personal dashboard where
they can view their profile, current membership plan, upcoming bookings, and
other relevant information. They also have the option to update their profile,
purchase or renew gym packages, and book classes or sessions such as yoga,
Zumba, or personal training. Additionally, users can check their activity history,
including past bookings and payments, and securely log out of the system.
Admin Module :
The Admin Module, on the other hand, is meant for system administrators or gym
managers to control and monitor all backend operations. Admins can log in through
a secure portal and are provided with a dashboard that displays overall statistics,
such as total users, active memberships, revenue, and class bookings. The admin
has full control over managing users, including viewing, editing, activating,
deactivating, or deleting user accounts. They can also manage content such as gym
categories (e.g., weight loss, strength training), package types (monthly, yearly,
personal training), and the actual packages offered to users. Additionally, the admin
can assign trainers to specific classes, manage staff, and generate detailed reports
on user activity, finances, and overall gym performance. This ensures efficient and
streamlined gym management from a centralized system.
10
ER-Diagram :
11
Output :
Home Screen :
User Login:
12
Existing Plans :
Package Details:
13
Admin Login :
Admin Dashboard:
14
Adding Package :
Databases:
15
16
Conclusion
17
References
1. W3Schools – For learning HTML, CSS, PHP, and MySQL
🌐 https://www.w3schools.com
2. PHP.net – Official PHP documentation and functions
🌐 https://www.php.net
3. MySQL Documentation – Official database guide and SQL syntax
🌐 https://dev.mysql.com/doc
4. XAMPP – Local server used for PHP and MySQL development
🌐 https://www.apachefriends.org
5. Campusify PDF Project File – Provided reference for project structure and file setup
18