0% found this document useful (0 votes)
33 views61 pages

Akash

The document outlines a major project titled 'Student Management System' submitted by a group of students for their Bachelor's degree in Computer Science. It includes sections such as project declaration, certificate of approval, acknowledgment, abstract, system analysis, design, requirements, and source code. The system aims to streamline student management tasks including registration, marks management, and user roles for administrators, students, and teachers.

Uploaded by

capludu3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views61 pages

Akash

The document outlines a major project titled 'Student Management System' submitted by a group of students for their Bachelor's degree in Computer Science. It includes sections such as project declaration, certificate of approval, acknowledgment, abstract, system analysis, design, requirements, and source code. The system aims to streamline student management tasks including registration, marks management, and user roles for administrators, students, and teachers.

Uploaded by

capludu3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 61

STUDENT MANAGEMENT SYSTEM

Student Management System


A

Major Project

Submitted By

Rasmiranjan Majhi (2202010420490036)

In Partial fulfilment for the award of degree of

Bachelor’s Of science

In Computer Science HONS.

DEPARTMENT OF COMPUTER SCIENCE

RAGHUNATHJEW DEGREE COLLAGE

DEULASAHI, CUTTACK-753008

(Affiliated to UGC)

2022-2025
STUDENT MANAGEMENT SYSTEM

Student Management System


A

Major Project

Submitted By

Rasmiranjan Majhi (2202010420490036)

In Partial fulfilment for the award of degree of

Bachelor’s Of science

In Computer Science HONS.

DEPARTMENT OF COMPUTER SCIENCE

RAGHUNATHJEW DEGREE COLLAGE

DEULASAHI, CUTTACK-753008

(Affiliated to UGC)

2022-2025
STUDENT MANAGEMENT SYSTEM

Student Management System


A Major Project
Submitted to
Department of Computer science

Ch.Anshuman Praharaj (2202010420490026)

Rasmiranjan Majhi (2202010420490036)

Sambit Kumar Sen (2202010420490037)

Satyajit Pradhan (2202010420490038)

Shekhar Das (2202010420490041)

In Partial fulfilment for the award of degree of

Bachelor’s Of science in

Computer Science HONS.

Under the supervision of

Mrs. Sasmita Rout

DEPARTMENT OF COMPUTER SCIENCE

RAGHUNATHJEW DEGREE COLLAGE

DEULASAHI, CUTTACK-753008

(Affiliated to UGC)

2022-2025
STUDENT MANAGEMENT SYSTEM

DECLARATION

I hereby declare that the Report of the BSC. Project Work entitled "STUDENT
MANAGEMENT SYSTEM" which is submitted to Raghunathjew Degree
College, Cuttack in the partial fulfilment of the requirements of Graduation Course
BSc. In Computer Science Honours, is a bonafide report of the work carried out
by us and I have not submitted this project report to any other University or
Institution.

Ch. Anshuman Praharaj (2202010420490026)


Rasmiranjan Majhi (2202010420490036)
Sambit Kumar Sen (2202010420490037)
Satyajit Pradhan (2202010420490038)
Shekhar Das (2202010420490041)
STUDENT MANAGEMENT SYSTEM

CERTIFICATE OF APPROVAL

The undersigned certify that the final year project entitled "STUDENT
MANAGEMENT SYSTEM" submitted by Ch. Anshuman Praharaj,
Rasmiranjan Majhi, Sambit Kumar Sen, Satyajit Pradhan and Shekhar Das to the
Department of Computer Science in partial fulfilment of requirement for the
degree of Bachelor of Science in Computer Science Honours. The project was
carried out under special supervision and within the time frame prescribed by the
syllabus.

We found the students to be hardworking, skilled, bonafide and ready to undertake


any commercial and industrial work related to their field of study.

1. Mrs. Sasmita Rout

(Project Guide)

2………………………….

(External Examiner)

3. Mrs. Sasmita Rout

H.O.D

Department Of Computer Science


STUDENT MANAGEMENT SYSTEM

ACKNOWLEDGEMENT

It is our privilege to express our sincerest regards to our Project Guide, Mrs.
Sasmita Rout for her valuable inputs, guidance, Encouragement and whole-
hearted cooperation throughout the duration of our project. We deeply express our
sincere thanks to our Head of Department Mrs. Sasmita Rout for encouraging and
allowing us to present the project on the topic "STUDENT MANAGEMENT
SYSTEM" at our Department premises for the partial fulfillment of the
requirements leading to the award of degree of Bachelor of Science in Computer
Science Honours. We take this opportunity to thank all our lecturers who have
directly or indirectly helped our project. We pay our respects and love to our
parents and all other family members and friends for their love and encouragement
throughout our project. Last but not the least we express our thanks to our group
members for their cooperation and support.

Ch. Anshuman Praharaj (2202010420490026)

Rasmiranjan majhi (2202010420490036)

Sambit Kumar Sen (2202010420490037)

Satyajit Pradhan (2202010420490038)

Shekhar Das (2202010420490041)


STUDENT MANAGEMENT SYSTEM

ABSTRACT

Our project explains about the student management. This project mainly explains
the various actions related to student details. This project shows some ease in
adding, editing and deleting the student details. It also provides a less time
consuming process for viewing, adding, editing and deleting the marks
of the students.

Our project includes

• Student Registration
• Subject Allocation
• Teacher Registration
• Adding Remarks
• Managing Student details
STUDENT MANAGEMENT SYSTEM

Index Page No.


1. Introduction 1
2. System Analysis 1-3
3. System requirements & Specifications 4
4. System Design 5-7
5. Use Case Diagram 8
6. System Screenshots 9-16
7. Source Code 17-51
8. Conclusion 52
9. References 53
STUDENT MANAGEMENT SYSTEM

1. INTRODUCTION
Student Management System is software which is helpful for students as well as the
school authorities. In the current system all the activities are done manually. It is very time
consuming and costly. Our Student Management System deals with the various activities
related to the students.

There are mainly 3 modules in this software

• Admin module

• Student Module

• Teacher Module

In the Software we can register as a user and user has of two types, student and
administrator. Administrator has the power to add new user and can edit and delete a user. A
student can register as user and can check his details ,and can send updated requests. The
administrator can add edit and delete remarks for students.

2. SYSTEM ANALYSIS
2.1 EXISTING SYSTEM:

System Analysis is a detailed study of the various operations performed by a system


and their relationships within and outside of the system. Here the key question is- what all
problems exist in the present system? What must be done to solve the problem? Analysis begins
when a user or manager begins a study of the program using existing system.

During analysis, data collected on the various files, decision points and transactions
handled by the present system. The commonly used tools in the system are Data Flow Diagram,
interviews, etc. Training, experience and common sense are required for collection of relevant
information needed to develop the system. The success of the system depends largely on how
clearly the problem is defined, thoroughly investigated and properly carried out through the
choice of solution.

1
STUDENT MANAGEMENT SYSTEM

A good analysis model should provide not only the mechanisms of problem
understanding but also the frame work of the solution. Thus it should be studied thoroughly by
collecting data about the system. Then the proposed system should be analyzed thoroughly in
accordance with the needs.

System analysis can be categorized into four parts.

• System planning and initial investigation


• Information Gathering
• Applying analysis tools for structured analysis
• Feasibility study
• Cost/ Benefit analysis.

In the current system we need to keep a number of records related to the student and
want to enter the details of the student and the marks manually. In this system only the teacher
or the school authority views the mark of the student and they want to enter the details of the
student.
This is time consuming and has much cost.

PROPOSED SYSTEM
In our proposed system we have the provision for adding the details of the students by the
admin. So the details can’t be misused. Another advantage of the system is that it is very easy
to edit the details of the student and delete a student when it found unnecessary. The marks

Our proposed system has several advantages

 User friendly interface


 Fast access to database
 Less error
 More Storage Capacity
 Search facility
 Look and Feel Environment

All the manual difficulties in managing the student details in a school or college have
been rectified by implementing computerization.

2
STUDENT MANAGEMENT SYSTEM

2.3 FEASIBILITY ANALYSIS


Whatever we think need not be feasible .It is wise to think about the feasibility of any
problem we undertake. Feasibility is the study of impact, which happens in the organization by
the development of a system. The impact can be either positive or negative. When the positives
nominate the negatives, then the system is considered feasible. Here the feasibility study can
be performed in two ways such as technical feasibility and Economical Feasibility.

Technical Feasibility:

We can strongly says that it is technically feasible, since there will not be much difficulty
in getting required resources for the development and maintaining the system as well. All the
resources needed for the development of the software as well as the maintenance of the same
is available in the organization here we are utilizing the resources which are available already.

Economical Feasibility

Development of this application is highly economically feasible .The organization


needed not spend much money for the development of the system already available. The
only thing is to be done is making an environment for the development with an effective
supervision. If we are doing so, we can attain the maximum usability of the corresponding
resources .Even after the development, the organization will not be in condition to invest
more in the organization .Therefore, the system is economically feasible.

3
STUDENT MANAGEMENT SYSTEM

3. SYSTEM REQUIREMENTS & SPECIFICATION

3.1 Hardware Requirements

Processor : Pentium III 630MHz

RAM : 4 GB

Hard Disk : 6 GB

Monitor : Color monitor

Key Board : 104

Keys

3.2 Software Requirements

Operating System :

Windows 9,

Windows 10,

Windows 11.

Software & Language : HTML,CSS, PHP, Java SourceCode ,


XAMPP

Database : MySQL.

4
STUDENT MANAGEMENT SYSTEM

4 SYSTEM DESIGN

4.1 Introduction
System design is a process through which requirements are translated into a
representation of software. Initially the representation depicts a holistic view of software.
Subsequent refinement leads to a design representation that is very close to source code. Design
is a place where quality fostered in software development. Design provides us with
representation of software that can be assessed for quality; this is the only way that can
accurately translate the customer requirements into finished software product or system.
System design serves as the foundation for all software engineering and software maintenance
steps that follow.

We look the design process from three distinct perspectives:

• Conceptual Design
• Logical Design
• Physical Design

The higher view is the conceptual view, followed by the logical view and
finally the physical view. In designing an application, we generally begin and end each phase
in a sequentially order, although they may overlap one another along the way.

Conceptual Design:

Conceptual Design is the process of acquiring and evaluating, documenting and


then validating what the user envisions to be the business relation. It identifies the user and
business requirements of the application and leads to a business solution as seen by the user.

All applications are built to solve business problems, and it is important to pay
close attention to principle that the business need drives application development. At any point
in the design process, the current state of the design should be directly traceable to a business
problem and requirements.

5
STUDENT MANAGEMENT SYSTEM

To achieve this conceptual design is driven by developing usage scenarios. These scenarios
are a direct representation of the user’s view of the solution to a specific business problem

Logical Design

Logical Design derives business objects and their related services directly from
these usage scenarios. The logical view of the solution provides a basis for evaluating different
physical options. It also formalizes the solution for the project team.

The idea of the application is that the system first emerges in logical design. Its
boundaries and business objects and it contains the system definition. Logical design specifies
the interfaces between the system and external entities,such as users and other systems. Within
a system there may be a number of sub-systems, and these boundaries are also specified.

Logical System Design consists of the following steps:

• Input/Output Specifications
• File Specifications
• Processing Specifications
Logical design should be technologically independent as possible, in order to separate
system behavior issues from system implementation issues. Implementation constraints should
only be considered only after the project team verifies that the essential behavior has been
incorporated onto a logical design. This approach does not establish a technical direction until
the system is well understood and documented.

Physical Design

The purpose of Physical Design is to translate the logical design into a solution
that can be implemented effectively, according to performance, administration and
development process requirements. This physical view should correctly implement the desired
system behavior while meeting the constraints imposed by the technology.

In Physical Design, the perspective shifts from an abstraction of system


behavior to an implementation of the behavior. Whereas the logical design is largely technology
independent, physical design is necessarily tied to chosen set of technologies, these being the
hardware and software on which the application will run.

6
STUDENT MANAGEMENT SYSTEM

Physical design consists of the following steps:

1. Design the physical media

• Specify input/output media.


• Design the database and specify backup procedures.
• Design physical information flow through the system.
2. Plan the system implementation

• Prepare a conversion schedule target date.


• Determine training procedure, courses and timetable.
3. Device a test and implementation plan.

4. Specify any new Hardware/Software usage.

5. Update benefits, costs, conversion date and system constraints.

7
STUDENT MANAGEMENT SYSTEM

USE CASE DIAGRAM User Module:

 In the Software we can register as a user and user has of three types, student, teacher
and administrator.
 Administrator has the power to add new user and can edit and delete a user. A student
can register as user and can view his profile and ask for a update request
 The teacher can add, edit and delete remarks for the student. All the users can see the
remarks

Student Module:
 In this student module Administrator will register the details of the student.
 Administrator can view the details of the student by giving roll number.
 Administrator can also edit the details of the student by giving roll number
 Administrator can also delete the details of the student by giving roll number
8
STUDENT MANAGEMENT SYSTEM

SCREENS

Login

9
STUDENT MANAGEMENT SYSTEM

Description:

Here we will give username and password to Login in to the Student Screen, Teacher screen
or Adminstrator Screen.

Add New Student:

10
STUDENT MANAGEMENT SYSTEM

Description:

Here the admin can add a new student by adding his/her details

Edit Student Details :

11
STUDENT MANAGEMENT SYSTEM

Description:

Here the admin can edit the details of a students on the basis of hir/her request .

Delete Student:

12
STUDENT MANAGEMENT SYSTEM

Description:

Here the admin can delete a student by entering his roll number.

View Student details:

13
STUDENT MANAGEMENT SYSTEM

Description:

The admin can view the details of a student by entering the roll number.

Add New Teacher:

14
STUDENT MANAGEMENT SYSTEM

View Teachers:

15
STUDENT MANAGEMENT SYSTEM

Database :

16
STUDENT MANAGEMENT SYSTEM

Source Codes
login.php :

<!DOCTYPE html>

<html>

<head>

<title>Login Page</title>

<link rel="stylesheet" type="text/css" href="bootstrap-4.4.1/css/bootstrap.min.css">

<script type="text/javascript" src="bootstrap-4.4.1/js/juqery_latest.js"></script>

<script type="text/javascript" src="bootstrap-4.4.1/js/bootstrap.min.js"></script>

</head>

<body>

<center><br><br>

<h3 style="background-color:powderblue;">Student Management System</h3><br>

<form action="" method="POST">

<input type="submit" name="admin_login" value="Admin Login" required>

<input type="submit" name="student_login" value="Student Login" required>

<input type="submit" name="teacher_login" value="Teacher Login" required>

</form>

<?php

if(isset($_POST['admin_login'])){

header("Location: admin_login.php");

17
STUDENT MANAGEMENT SYSTEM

header("Location: student_login.php");

if(isset($_POST['teacher_login'])){

header("Location: teacher_login.php");

?>

</center>

</body>

</html>

admin_login.php :
<!DOCTYPE html>

<html>

<head>

<title>Admin Login</title>

<link rel="stylesheet" type="text/css" href="bootstrap-4.4.1/css/bootstrap.min.css">

<script type="text/javascript" src="bootstrap-4.4.1/js/juqery_latest.js"></script>


<script type="text/javascript" src="bootstrap-4.4.1/js/bootstrap.min.js"></script>

</head>

<body>

<center><br><br>

<h3>Admin LogIn Page</h3><br>

<form action="" method="post">

Email ID: <input type="text" name="email" required><br><br>

Password: <input type="password" name="password" required><br><br>

<input type="submit" name="submit" value="LogIn">

18
STUDENT MANAGEMENT SYSTEM

</form><br>

<?php

session_start();

if(isset($_POST['submit'])){

$connection = mysqli_connect("localhost","root","");

$db = mysqli_select_db($connection,"sms");

$query = "select * from login where email =

'$_POST[email]'"; $query_run =

mysqli_query($connection,$query); while ($row =

mysqli_fetch_assoc($query_run)) { if($row['email'] ==

$_POST['email']){ if($row['password'] ==

$_POST['password']){

$_SESSION['name'] = $row['name']; $_SESSION['email'] =

$row['email']; header("Location: admin_dashboard.php");

else{

?>

<span>Wrong Password !!</span>

<?php

} }

?>

19
STUDENT MANAGEMENT SYSTEM

</center>

</body>

</html>

admin_dashboard.php :
<!DOCTYPE html>

<html>

<head>

<title>Admin Dashboard</title>

<link rel="stylesheet" type="text/css" href="bootstrap-4.4.1/css/bootstrap.min.css">

<script type="text/javascript" src="bootstrap-4.4.1/js/juqery_latest.js"></script>

<script type="text/javascript" src="bootstrap-4.4.1/js/bootstrap.min.js"></script>

<style type="text/css">

#header{

height: 10%;

width: 100%;

top: 2%;

background-color:

black; position: fixed;

color: white;

#left_side{

height: 75%;

width: 15%;

20
STUDENT MANAGEMENT SYSTEM

top: 10%;

position: fixed;

#right_side{

height: 75%; width: 80%;

background-color:

whitesmoke; position: fixed;

left: 17%;

top: 21%; color: red;

border: solid 1px black;

#top_span{

top: 15%;

width: 80%;

left: 17%;

position: fixed;

#td{

border: 1px solid

black; padding-left: 2px;

text-align: left;

width: 200px;

21
STUDENT MANAGEMENT SYSTEM

</style>

<?php

session_start();

$name = "";

$connection = mysqli_connect("localhost","root","");

$db = mysqli_select_db($connection,"sms");

?>

</head>

<body>

<div id="header"><br>

<center>Student Management System


&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Email: <?php echo
$_SESSION['email'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name:<?php echo
$_SESSION['name'];?>

<a href="logout.php">Logout</a>

</center>

</div>

<span id="top_span"><marquee>Note:- This portal is open till 31 March 2021...Plz edit your
information, if wrong.</marquee></span>

<div id="left_side">

<br><br><br>

<form action="" method="post">

<table>

<tr>

<td>

22
STUDENT MANAGEMENT SYSTEM

<input type="submit"

name="search_student" value="Search Student">

</td>

</tr>

<tr>

<td>

<input type="submit"
name="edit_student" value="Edit Student">

</td>

</tr>

<tr>

<td>

<input type="submit" name="add_new_student"


value="Add New Student">

</td>

</tr>

<tr>

<td>

<input type="submit" name="delete_student"


value="Delete Student">

</td>

</tr>

<tr>

<td>

<input type="submit" name="show


teacher" value="Show Teachers">

23
STUDENT MANAGEMENT SYSTEM

</td>

</tr>

<tr>

<td>

<input type="submit"
name="add_teacher" value="Add Teacher">

</td>

</tr>

</table>

</form>

</div>

<div id="right_side"><br><br>

<div id="demo">

<!-- #Code for search student---Start-->

<?php

if(isset($_POST['search_student']))

?>

<center>

<form action="" method="post">

&nbsp;&nbsp;<b>Enter Roll No:</b>&nbsp;&nbsp; <input type="text" name="roll_no">

<input type="submit"
name="search_by_roll_no_for_search" value="Search">

</form><br><br>

<h4><b><u>Student's details</u></b></h4><br><br>

</center>

24
STUDENT MANAGEMENT SYSTEM

<?php

if(isset($_POST['search_by_roll_no_for_search']))

$query = "select * from students where roll_no =


'$_POST[roll_no]'";

$query_run = mysqli_query($connection,$query);

while ($row = mysqli_fetch_assoc($query_run))

?>

<table>

<tr>

<td>

<b>Roll No:</b>

</td>

<td>

<input type="text"
value="<?php echo $row['roll_no']?>" disabled>

</td>

</tr>

<tr>

<td>

<b>Name:</b>

</td>

<td>

<input type="text"

25
STUDENT MANAGEMENT SYSTEM

value="<?php echo $row['name']?>" disabled>

</td>

</tr>

<tr>

<td>

<b>Father's Name:</b>

</td>

<td>

<input type="text"
value="<?php echo $row['father_name']?>" disabled>

</td>

</tr>

<tr>

<td>

<b>Class:</b>

</td>

<td>

<input type="text"
value="<?php echo $row['class']?>" disabled>

</td>

</tr>

<tr>

<td>

<b>Mobile:</b>

</td>

26
STUDENT MANAGEMENT SYSTEM

<td>

<input type="text"
value="<?php echo $row['mobile']?>" disabled>

</td>

</tr>

<tr>

<td>

<b>Email:</b>

</td>

<td>

<input type="text"
value="<?php echo $row['email']?>" disabled>

</td>

</tr>

<tr>

<td>

<b>Password:</b>

</td>

<td>

<input type="password"
value="<?php echo $row['password']?>" disabled>

</td>

</tr>

<tr>

<td>

<b>Remark:</b>

</td>

27
STUDENT MANAGEMENT SYSTEM

<td>

<textarea rows="3"
cols="40" disabled><?php echo $row['remark']?></textarea>

</td>

</tr>

</table>

<?php

?>

<!-- #Code for edit student details---Start-->

<?php

if(isset($_POST['edit_student']))

?>

<center>

<form action="" method="post">

&nbsp;&nbsp;<b>Enter Roll No:</b>&nbsp;&nbsp;


<input type="text" name="roll_no">

<input type="submit"
name="search_by_roll_no_for_edit" value="Search">

</form><br><br>

<h4><b><u>Student's details</u></b></h4><br><br>

</center>

<?php

28
STUDENT MANAGEMENT SYSTEM

if(isset($_POST['search_by_roll_no_for_edit']))

$query = "select * from students where roll_no = $_POST[roll_no]";

$query_run = mysqli_query($connection,$query);

while ($row = mysqli_fetch_assoc($query_run))

?>

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

<table>

<tr>

<td>

<b>Roll No:</b>

</td>

<td>

<input type="text" name="roll_no" value="<?php echo $row['roll_no']?>">

</td>

</tr>

<tr>

<td>

<b>Name:</b>

</td>

<td>

<input type="text" name="name"


value="<?php echo $row['name']?>">

</td>

</tr>

29
STUDENT MANAGEMENT SYSTEM

<tr>

<td>

<b>Father's Name:</b>

</td>

<td>

<input type="text"
name="father_name" value="<?php echo $row['father_name']?>">

</td>

</tr>

<tr>

<td>

<b>Class:</b>

</td>

<td>

<input type="text"
name="class" value="<?php echo $row['class']?>">

</td>

</tr>

<tr>

<td>

<b>Mobile:</b>

</td>

<td>

<input type="text" name="mobile"


value="<?php echo $row['mobile']?>">

</td>

</tr>

30
STUDENT MANAGEMENT SYSTEM

<tr>

<td>

<b>Email:</b>

</td>

<td>

<input type="text" name="email"


value="<?php echo $row['email']?>">

</td>

</tr>

<tr>

<td>

<b>Password:</b>

</td>

<td>

<input type="password"
name="password" value="<?php echo $row['password']?>">

</td>

</tr>

<tr>

<td>

<b>Remark:</b>

</td>

<td>

<textarea rows="3" cols="40"


name="remark"><?php echo $row['remark']?></textarea>

</td>

</tr><br>

31
STUDENT MANAGEMENT SYSTEM

<tr>

<td></td>

<td>

<input type="submit"
name="edit" value="Save">

</td>

</tr>

</table>

</form>

<?php

?>

<!-- #Code for Delete student details---Start-->

<?php

if(isset($_POST['delete_student']))

?>

<center>

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

&nbsp;&nbsp;<b>Enter Roll No:</b>&nbsp;&nbsp;


<input type="text" name="roll_no">

<input type="submit"
name="search_by_roll_no_for_delete" value="Delete">

</form><br><br>

</center>

32
STUDENT MANAGEMENT SYSTEM

<?php

?>

<?php

if(isset($_POST['add_new_student'])){

?>

<center><h4>Fill the given details</h4></center>

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

<table>

<tr>

<td>

<b>Roll No:</b>

</td>

<td>

<input type="text"
name="roll_no" required>

</td>

</tr>

<tr>

<td>

<b>Name:</b>

</td>

<td>

<input type="text" name="name"


required>

</td>
33
STUDENT MANAGEMENT SYSTEM

</tr>

<tr>

<td>

<b>Father's Name:</b>

</td>

<td>

<input type="text"
name="father_name" required>

</td>

</tr>

<tr>

<td>

<b>Class:</b>

</td>

<td>

<input type="text"
name="class" required>

</td>

</tr>

<tr>

<td>

<b>Mobile:</b>

</td>

<td>

<input type="text"
name="mobile" required>

34
STUDENT MANAGEMENT SYSTEM

</td>

</tr>

<tr>

<td>

<b>Email:</b>

</td>

<td>

<input type="text" name="email"


required>

</td>

</tr>

<tr>

<td>

<b>Password:</b>

</td>

<td>

<input type="password"
name="password" required>

</td>

</tr>

<tr>

<td>

<b>Remark:</b>

</td>

<td>

<textarea rows="3"
cols="40" placeholder="Optional" name="remark"></textarea>

35
STUDENT MANAGEMENT SYSTEM

</td>

</tr>

<tr>

<td></td>

<td><br><input type="submit" name="add" value="Add Student"></td>

</tr>

</table>

</form>

<?php

?>

<?php

if(isset($_POST['show_teacher']))

?>

<center>

<h5>Teacher's Details</h5>

<table>

<tr>

<td id="td"><b>Serial No</b></td>

<td id="td"><b>Name</b></td>

<td id="td"><b>Subjects</b></td>

</tr>

</table>

</center>

<?php

$query = "select * from teachers";

36
STUDENT MANAGEMENT SYSTEM

$query_run = mysqli_query($connection,$query);

while ($row = mysqli_fetch_assoc($query_run))

?>

<center>

<table style="border-collapse: collapse;border: 2px solid black;">

<tr>
<td id="td"><?php echo
$row['teacher_id']?></td>
<td id="td"><?php echo

$row['name']?></td>

<td id="td"><?php echo


$row['subject']?></td>

</tr>

</table>

</center>

<?php

?>

<?php

if(isset($_POST['add_teacher']))

?>

<center><h4>Fill the given details</h4></center>

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

<table>

37
STUDENT MANAGEMENT SYSTEM

<tr>

<td>

<b>Serial No:</b>

</td>

<td>

<input type="text"
name="teacher_id" required>

</td>

</tr>

<tr>

<td>

<b>Name:</b>

</td>

<td>

<input type="text" name="name"


required>

</td>

</tr>

<tr>

<td>

<b>Course:</b>

</td>

<td>

<input type="text"
name="subject" required>

</td>

38
STUDENT MANAGEMENT SYSTEM

</tr>

<tr>

<td>

<b>Email:</b>

</td>

<td>

<input type="text"
name="mail" required>

</td>

</tr>

<tr>

<td>

<b>Password:</b>

</td>

<td>

<input type="password"
name="password" required>

</td>

</tr>

<tr>

<td></td>

<td><br><input type="submit" name="add" value="Add Teacher"></td>

</tr>

</table>

</form>

<?php

39
STUDENT MANAGEMENT SYSTEM

?>

</div>

</div>

</body>

</html>

add_student.php :
<?php

$connection = mysqli_connect("localhost","root","");

$db = mysqli_select_db($connection,"sms");

$query = "insert into students


values('',$_POST[roll_no],'$_POST[name]','$_POST[father_name]',$_POST[class],'$_POST[mo
bil e]','$_POST[email]','$_POST[password]','$_POST[remark]')";

$query_run = mysqli_query($connection,$query);

?>

<script type="text/javascript">

alert("Student added successfully."); window.location.href

= "admin_dashboard.php";

</script>

Add_teacher.php :
<?php

$connection = mysqli_connect("localhost","root","");

$db = mysqli_select_db($connection,"sms");

40
STUDENT MANAGEMENT SYSTEM

$query = "insert into teachers


values('',$_POST[teacher_id],'$_POST[mail]','$_POST[name]','$_POST[mobile]','$_POST[subje
ct] ','$_POST[password]')";

$query_run = mysqli_query($connection,$query);

?>

<script type="text/javascript">

alert("Teacher added successfully."); window.location.href

= "admin_dashboard.php";

</script>

Edit_student.php :
<?php

$connection = mysqli_connect("localhost","root","");

$db = mysqli_select_db($connection,"sms");

$query = "update students set


name='$_POST[name]',father_name='$_POST[father_name]',class=$_POST[class],mobile='$_
P
OST[mobile]',email='$_POST[email]',password='$_POST[password]',remark='$_POST[remark]
' where roll_no = $_POST[roll_no]";

$query_run = mysqli_query($connection,$query);

?>

<script type="text/javascript">

alert("Details edited successfully."); window.location.href =

"admin_dashboard.php"; </script>

41
STUDENT MANAGEMENT SYSTEM

delete_student.php :
<script type="text/javascript">

if(confirm("Are you sure want to delete ?"))

document.write("<?php

$connection = mysqli_connect("localhost","root","");

$db = mysqli_select_db($connection,"sms");

$query = "delete from students where roll_no = $_POST[roll_no]";

$query_run = mysqli_query($connection,$query);

?>");

window.location.href = "admin_dashboard.php";

else

window.location.href = "admin_dashboard.php";

</script>

Student_dashboard.php :
<!DOCTYPE html>

<html>

<head>

<title>Student Dashboard</title>

<link rel="stylesheet" type="text/css" href="bootstrap-


4.4.1/css/bootstrap.min.css">

<script type="text/javascript" src="bootstrap-


42
STUDENT MANAGEMENT SYSTEM

4.4.1/js/juqery_latest.js"></script>

<script type="text/javascript" src="bootstrap-


4.4.1/js/bootstrap.min.js"></script>

<style type="text/css">

#header{

height: 10%;

width: 100%;

top: 2%;

background-color: black;

position: fixed;

color: white;

#left_side{

height: 75%;

width: 15%; top: 10%;

position: fixed;

#right_side{

height: 75%;

width: 80%;

background-color: lightyellow;

position: fixed;

43
STUDENT MANAGEMENT SYSTEM

left: 17%;

top: 21%;

color: red;

border: solid 1px black;

#top_span{

top: 15%;

width: 80%;

left: 17%;

position: fixed;

</style>

<?php

session_start();

$connection = mysqli_connect("localhost","root","");

$db = mysqli_select_db($connection,"sms");

?>

</head>

<body>

<div id="header"><br>

<center>Student Management System

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Email: <?php echo


$_SESSION['email'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name:<?php echo
$_SESSION['name'];?>

44
STUDENT MANAGEMENT SYSTEM

<a href="logout.php">Logout</a>

</center>

</div>

<span id="top_span"><marquee>Note:- This portal is open till 31 March


2021...Plz mention your information to be changed, if wrong.</marquee></span>

<div id="left_side">

<br><br><br>

<form action="" method="post">

<table>

<tr>

<td>

<input type="submit" name="update


request" value="Update Request">

</td>

</tr>

<tr>

<td>

<input type="submit" name="show_detail" value="Show Detail">

</td>

</tr>

</table>

</form>

</div>

<div id="right_side"><br><br>

<div id="demo">

45
STUDENT MANAGEMENT SYSTEM

<?php

if(isset($_POST['show_detail']))

$query = "select * from students where email =


'$_SESSION[email]'";

$query_run = mysqli_query($connection,$query);

while ($row = mysqli_fetch_assoc($query_run))

?>

<table>

<tr>

<td>

<b>Roll No:</b>

</td>

<td>

<input type="text" value="<?php echo


$row['roll_no']?>" disabled>

</td>

</tr>

<tr>

<td>

<b>Name:</b>

</td>

<td>

<input type="text"
value="<?php
46
STUDENT MANAGEMENT SYSTEM

echo $row['name']?>" disabled>

</td>

</tr>

<tr>

<td>

<b>Father's Name:</b>

</td>

<td>

<input type="text" value="<?php echo


$row['father_name']?>" disabled>

</td>

</tr>

<tr>

<td>

<b>Class:</b>

</td>

<td>

<input type="text" value="<?php echo


$row['class']?>" disabled>

</td>

</tr>

<tr>

<td>

<b>Mobile:</b>

</td>

<td>

47
STUDENT MANAGEMENT SYSTEM

<input type="text" value="<?php echo

$row['mobile']?>" disabled>

</td>

</tr>

<tr>

<td>

<b>Email:</b>

</td>

<td>

<input type="text" value="<?php echo


$row['email']?>" disabled>

</td>

</tr>

<tr>

<td>

<b>Password:</b>

</td>

<td>

<input type="password" value="<?php


echo $row['password']?>" disabled>

</td>

</tr>

<tr>

<td>

<b>Remark:</b>

</td>

48
STUDENT MANAGEMENT SYSTEM

<td>

<textarea rows="3" cols="40"


disabled><?php echo $row['remark']?></textarea>

</td>

</tr>

</table>

<?php

?>

</div>

</div>

</body>

</html>

Student_login.php :
<!DOCTYPE html>

<html>

<head>

<title>Student Login</title>

<link rel="stylesheet" type="text/css" href="bootstrap-


4.4.1/css/bootstrap.min.css">

<script type="text/javascript" src="bootstrap-


4.4.1/js/juqery_latest.js"></script>

<script type="text/javascript" src="bootstrap-


4.4.1/js/bootstrap.min.js"></script>

</head>

49
STUDENT MANAGEMENT SYSTEM

<body>

<center><br><br>

<h3>Student LogIn Page</h3><br>

<form action="" method="post">

Email ID: <input type="text" name="email" required><br><br>


Password: <input type="password" name="password"
required><br><br>

<input type="submit" name="submit" value="LogIn">

</form><br>

<?php

session_start();

if(isset($_POST['submit']))

$connection = mysqli_connect("localhost","root","");

$db = mysqli_select_db($connection,"sms");

$query = "select * from students where email =


'$_POST[email]'";

$query_run = mysqli_query($connection,$query);

while ($row = mysqli_fetch_assoc($query_run))

if($row['email'] == $_POST['email'])

if($row['password'] == $_POST['password'])

$_SESSION['name'] = $row['name'];

$_SESSION['email'] = $row['email'];
header("Location:
50
STUDENT MANAGEMENT SYSTEM

student_dashboard.php");

else{

?>

<span>Wrong Password !!</span>

<?php

else

?>

<span>Wrong UserName !!</span>

<?php

?>

</center>

</body>

</html>

51
STUDENT MANAGEMENT SYSTEM

Conclusion
This project is just a basic user friendly online management system so everyone
can have the experience of a management system and get comfortable using
basic functions , which will help them using some advanced systems .

The objective of software planning is to provide a frame work that enables the
manger to make reasonable estimates made within a limited time frame at the
beginning of the software project and should be updated regularly as the project
progresses.

Overall, a well-designed Student Management System enhances educational


institutions' productivity, minimizes errors, and provides a centralized platform
for managing academic and administrative activities. As technology advances,
future enhancements such as AI-driven analytics, mobile app support, and cloud-
based solutions can further optimize student data management, ensuring a more
seamless and efficient learning environment.

52
STUDENT MANAGEMENT SYSTEM

References

• https://www.google.com
• https://www.w3schools.com/php/php_mysql_select.asp

Student Data Management:

• Storing and managing student personal information (name, address, contact details,
etc.).
• Maintaining academic records (courses, grades, attendance).
• Facilitating student registration and enrollment processes.

Attendance Tracking:

• Automated or manual attendance recording.


• Generating attendance reports and identifying patterns.

Result Management:

• Storing and managing student results (grades, marks).


• Generating reports and analyzing student performance.

Fee Management:

• Tracking and managing student fees.


• Facilitating online fee payments.

Communication:

• Providing communication channels between students, teachers, and parents.


• Sending notifications and alerts.

Reporting:

• Generating various reports for administrators, teachers, and students.


• Analyzing student data and identifying trends.

53

You might also like