You are on page 1of 45

ABSTRACT

This project “Student personal Information and


Management System” provides us a simple interface for
maintainance of student information. It can be used by
educational institutes or colleges to maintain the records of
students easily. Achieving this objective is difficult using a
manual system as the information is scattered, can be
redundant and collecting relevant information may be very
time consuming. All these problems are solved using this
project.

Throughout the project the focus has been on presenting


information in an easy and intelligible manner. The project is
very useful for those who want to know about Student
personal Information and Management Systems and want to
develop websites based on the same concept.

The project provides facilities like to include students records


thus reducing paperwork and automating the record process in
an educational institution.
1. PROJECT DESCRIPTION

1.1 INTRODUCTION:

The objective of Student personal


information and management System is to allow the
administrator to edit and find out the personal details of a
student and allows the student to keep update his profile .It’ll
also facilitate keeping all the records of students, such as their
id, name, Age, gender, phone number, DOB etc. So all the
information about a student will be available. Student
personal information
And management system and is intended to help and
maintain and manage its student’s personal data.
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.
In the Software we can register as a faculty as well as a
student for every student the authentication code and the roll
no is provided by the head of the department faculty and for
the registration of a faculty the Registration ID and the
authentication code is provided by the administrator the
institute.
In this project an admin can manage the faculty and take
decision about the students like deletion of any student admin
is authorized to create the token for the registration of the
faculty as same as a faculty is authorized for creating token
for the registration of a student.

1.2 EXISTING WORK:

The Existing work is a manual entry for the


students. Here the student personal information and
management system will be carried out in the hand written
registers. It will be a tedious job to maintain the record for
user. The human effort is more here. The retrieval of the
information is not easy as the records to maintain in the hand
written registers. This application require to correct feed on
input into the respective field. Suppose the wrong inputs are
entered, the application resist to work. So, the user find it
difficult to use.
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. 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.

1.3 PROPOSED SYSTEM :

. In our proposed system we have the provision for


adding the details of the students by themselves. So the
overhead of the school authorities and the teachers is
become less. 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 of the
student are added in the database and so students can
also view the marks whenever they want.
Our proposed system has several advantages
 User friendly interface
 Fast access to database
 Less error
 More Storage Capacity
 Search facility

             All the manual difficulties in managing the


student details in a school or college have been rectified
by implementing computerization
2. SYSTEM SPECIFICATION

2.1 Software Requirements:

 PHP 5.6.35
 APACHE HTTP Server.
 Microsoft Windows.
 My sql 5.7.21

2.2 Hardware Requirements:

 Intel Pentium IV processor or equivalent


or higher.
 512 MB Ram or Higher.
 Hard disk :20 GB HDD or Higher.
 Network Connectivity.
 Operating Systems: Microsoft Windows
TECHNOLOGIES USED:

The technology selected for implementing Student personal Information Management


System is HTML/PHP/MYSQL.Apache is used as the HTTP server. The development
was done in a ‘windows’ environment.

PHP
PHP is a general-purpose scripting language that is especially
suited to server-side web development where PHP generally runs on a web
server.PHP code is embedded into the HTML source document.Any PHP code in a
requested file is executed by the PHP runtime, usually to create dynamic web page
content.It can also be used for command-line scripting and client-side GUI
applications. PHP can be deployed on many web servers and operating systems, and
can be used with many relational database management systems (RDBMS). It is
available free of charge, and the PHP Group provides the complete source code for
users to build, customize and extend for their own use.

MySQL

MySQL is a relational database management system


(RDBMS)that runs as a server providing multi-user access to a number of databases.
MySQL is a popular choice of database for use in web applications and is an open
source product. The process of setting up a MySQL database varies from host to host,
however we will end up with a database name, a user name and a password. Before
using our database, we must create a table. A table is a section of the database for
storing related information. In a table we will set up the different fields which will be
used in that table. Creating a table in phpMyAdmin is simple, we just type the name,
select the number of fields and click the ‘go’ button. we will then be taken to a setup
screen where you must create the fields for the database.Another way of creating
databases and tables in phpMyAdmin is by executing simple SQL statements.We have
used this method in order to create our database and tables.

APACHE:

The Apache HTTP Server is a web server software notable for


playing a key role in the initial growth of the World Wide Web. In 2009 it became the
first web server software to surpass the 100 million web site milestone. Apache is
developed and maintained by an open community of developers under the auspices of
the Apache Software Foundation. Since April 1996 Apache has been the most popular
HTTP server software in use. As of November 2010 Apache served over 59.36% of
all websites and over 66.56% of the first one million busiest websites.

HTML:

HTML (Hyper Text Markup Language) is the most basic building


block of the Web. It define the meaning and structure of web content.
Other technologies besides HTML are generally used to describe a
web page's appearance/presentation (CSS) or
functionality/ behavior (JavaScript).
"Hypertext" refers to links that connect web pages to one another,
either within a single website or between websites. Links are a
fundamental aspect of the Web. By uploading content to the Internet
and linking it to pages created by other people, you become an active
participant in the World Wide Web

4. DATABASE DESIGN

4.1 CREATING A DATABASE AND INSERTINGDATA :

Now that we have run and tested Apache and


PHP, the next step is running MySQL and creating a database and
table which will hold information to be used by our website. In order
to start MySQL, navigate to the APACHE directory and run the
mysql_start.bat batch file. The APACHE package contains an
application called php My Admin which allows developers to
administer and maintain MySQL databases. We will be using php
My Admin to create a database and table, and enter test data.

Before testing php My Admin, make sure that both Apache and
MySQL are running by opening their respective batch files:
apache_start.bat and mysql_start.bat. Along with Apache and
MySQL running in the background, we type
http://localhost/phpMyAdmin/ into our web browser. If successful
we will be presented with a php MyAdmin start page similar to the
one shown below.
4.2 TABLE DESIGN :
The Website provides following functionalities to the users
 Administrator :

 Login/Logout.
 View student information.
 Edit Student Information.
 Search students.

 Student :

 Login/Logout.
 View profile.
 Change password.

4.3 SCOPE OF THE PROJECT:


The Student personal Information and Management
System can be enhanced to include student personal details .students
records to edit the details. Unwanted students records can delete.
Batch wise to include and entering the student details for this content.
Easily can retrieve the records, Time saving. To view the student
records. For user friendly can use this projects.

4.4 CONTRIBUTION IN THE PROJECT:


Student personal information and management system
lead to a better organization structure since the information
management of the students is well structured and also lead to better
as well as efficient utilization of resources.

Student personal Information and Management System can be


used by education institutes to maintain the records of students easily
Achieving this objective is difficult using a manual system as the
information is scattered, can be redundant and collecting relevant
information may be very time consuming. All these problems are
solved using this projectOur project Student Information Management
System was developed by us. We, are developing step by step
approach in order to reach our goal. We applied the knowledge we
gained during our training period and developed this project
“STUDENT PERSONAL INFORMATION AND
MANAGEMENT SYSTEM”.
5. PROGRAM DESIGN

This project is made under an online project which is works as


a website also it also use for the advertisement of the institute
it also include the information pages of the institute like
vision, about us, history, student information page, syllabus
for the students, admission information and a notice board for
the student of institute and as well as a guest user.

Admin Module:-
This is the first and the base module of the project by this
module a admin is provided to the project to manage the
faculty and student module. An admin have the authority to
add and remove the faculty, Add and delete the Notification,
view progress and attendance status of the students, update
academic calendar etc.

Faculty Module:-

This module is for the faculty members of the institute all


faculty are get a unique token no and a pin for registration by
the administrator of the institute by using the registration id
and pin the faculty will get registration page after filling that
form the faculty will get registered in the institute database
and they choose a password for login to their profile. After
login the faculty have authorized to services for the student
like submit attendance of students, submit marks of their
subjects, make result, add notification for a particular
department, send mail to individual or a group of student, allot
assignments and project to the students.

Student Module:-
As like faculty registration same the student will get a roll no
and a pin to registered themselves. After enter the roll no and
pin students are redirect to the registration page after
submitting their general details student will get a roll no and a
password to login their profile. After login the student is able
to view and update their updatable information like mobile no,
email, address and profile pictures but students are restricted
to update their key details like Name, Father Name, Date of
birth in such a case in student is able to write a online
application to their head of department for approving to
update these details. Students are able to view other
information related to their class like notification of their
departments, own attendance in individual subjects, previous
test marks, and send message to other students.

6. CONCLUSION:

Our project Student Personal Information Management


System was developed by us. A step by step approach in
order to reach our goal. We applied knowledge for
developed this project “STUDENT PERSONAL
INFORMATION AND MANAGEMENT SYSTEM
student information management system lead to a better
organization structure since the information management of
the students is well structured and also lead to better as well
as efficient utilization of resources.

Student Information Management System can be used by


education institutes to maintain the records of students
easily. Achieving this objective is difficult using a manual
system as the information is scattered, can be redundant and
collecting relevant information may be very time
consuming. All these problems are solved using this project

7. REFERENCE :

1· The joy of php programming: A beginner’s


guide-by Alan forbes

2· php& mysql novice to ninja-by kevin yank.


3· www.google.com
4· www.wikipedia.com
5· www.w3schools.com

8.APPENDIX :
8.1 PROJECT CODING:

Login Page:
<html>
<head>
<title>Login</title>
<link rel="stylesheet" href="style.css"/>
<script src="login.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-
awesome.min.css" rel="stylesheet"/>
</head>
<body bgcolor="#FF6347 ">
<table border="2" width="100%" height="10%" bgcolor="silver"><td><h1
align="center"><font color="black"><u> STUDENT PERSONAL
INFORMATION SYSTEM</u></font></h1>
</table>
<div id="log">
<form name="kiruthika" action="newfront.html" method="post">
<table border="4" cellspacing=0 bgcolor=lightgrey borderlightcolor=lightgrey
borderdarkcolor=lightgrey>
</table>
<input type="text" name="username" class="fa" id="username"
placeholder="&#xf2bd USERNAME"/>
<input type="password" name="password" class="fa" id="password"
placeholder="&#xf084 PASSWORD"/>
<input type="button" value="Login" id="submit" onclick="validate()"/>
</form>
</div>
</div>
</body>
</html>

Front form:

<html>
<head>
<style>
h1
{
color:black;
text-align:center;
text-shadow:1px 1px 0px white;

}</style>
<title>view</title>
<body bgcolor="#FF6347">

<h1><FONT STYLE="BOOK ANTIQUA"><i>STUDENT


PERSONAL INFORMATION SYSTEM</i></h1>
<center><table border="2" height="5%" width="50%"
bgcolor="silver"></center>
<tr><td>
<center><table>
<tr><th>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<a
href="studpersonal.html"><font size="5">Entry</font></a>
<th>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbs
p&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<a
href="studview.php"><font size="5">View</font></a>
&nbsp;&nbsp;&nbsp;&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
&nbsp&nbsp&nbsp&nbsp&nbsp<a href="search.php"><font
size="5">Search</font></a>
&nbsp;&nbsp;&nbsp;&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
&nbsp&nbsp&nbsp&nbsp&nbsp<a href="display.php"><font
size="5">Report</font></a>
</tr>
</table>
</center>
</table><br><br>
<img src="collage.jpg" width="600" height="400" align="center">
<br><br>
<table border="2"width="100%" bgcolor="silver"><td><h5
align="center"><br><font size="3">DESIGNED AND
DEVOLEPED BY J.KIRUTHIKA MSC COMPUTER
SCIENCE</font></h5>
</table>
</body>
</html>
Entry form:

<html>
<head>
<title>spt</title>
</head>
<body bgcolor="#FF6347">
<form name="12" action="studpersonal.php" method="post">
<center>
<table border="2"width="100%" bgcolor="silver"><td><h1
align="center"><u>Student Personal Information</u><img src="home.jpg"
align="left"width="5%" height="10%"></h1>
</table>
<br>
<br>
<table border="4" cellspacing=0 bgcolor=lightgrey borderlightcolor=lightgrey
borderdarkcolor=lightgrey>
<tr ><td ><table border="0">
<center>
<tr><td><i>Reg No<td>:<td><input type="text box"
name="reg_no"></i></tr>
<tr><td><i>Name<td>:<td><input type="text box" name="name"></i></tr>
<tr><td><i>Age<td>:<td><input type="text box" name="age"></i></tr>
<tr><td><i>Date Of Birth<td>:<td><input type="date" name="date"></i></tr>
<tr><td><i>Gender<td>:<td><input type="radio" name=gender value="0"
><i>Male</i><input type="radio" name=gender
value="1"><i>Female</i></tr>
<tr><td><i>Batch<td>:<td><select name=bat>
<option value="0"></option>
<option value="2018">2018-2023</option>
<option value="2017">2017-2022</option>
<option value="2016">2016-2021</option>
<option value="2015">2015-2020</option>
<option value="2014">2014-2019</option>
<tr><td><i>Category<td>:<td><input type="radio" name=category
value="0"><i>OC</i><input type="radio" name=category
value="1"><i>BC</i><input type="radio" name=category
value="2"><i>MBC/DNC</i><input type="radio" name=category
value="3"><i>SC/ST</i></tr>
<tr><td><i>Stay mode<td>:<td><input type="radio" name=stay
value="0"><i>Hostel</i><input type="radio" name=stay value="1"><i>Days
Scholar</i></tr>
<tr><td><i>Mode of transport<td>:<td><input type="radio" name=transport
value="0"><i>College bus</i><input type="radio" name=transport
value="1"><i>Others</i></tr>
<tr><td><i>Department<td>:<td><select name=dept>
<option value="0"></option>
<option value="1">M.SC Computer science </option>
<option value="2">computer Applications </option>
</i></select>
<tr><td><i>Blood Group<td>:<td><input type="text box"
name="blood"></i></tr>
<tr><td><i>Father's Name<td>:<td><input type="text box"
name="father_name"></i></tr>
<tr><td><i>Mother's Name<td>:<td><input type="text box"
name="mother_name"></i></tr>
<tr><td><i>Guardian's Name<td>:<td><input type="text box"
name="guardian_name"></i></tr>
<tr><td><i>Address1<td>:<td><input type="text box"
name="address1"></i></tr>
<tr><td><i>Address2<td>:<td><input type="text box"
name="address1"></i></tr>
<tr><td><i>Address3<td>:<td><input type="text box"
name="address1"></i></tr>
<tr><td><i>Address4<td>:<td><input type="text box"
name="address1"></i></tr>
<tr><td><i>Pin_code<td>:<td><input type="text box" name="pin"></i></tr>
<tr><td><i>Mobile_number<td>:<td><input type="text box"
name="mobile_no"></i></tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr><td align="center" colspan=3><input type="Submit"
value="submit">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input
type="Reset" value="reset"></tr>
</table>
</table>
</form>
<br>
<br>
<table border="2"width="100%" bgcolor="silver"><td><h4
align="center">DESIGNED AND DEVOLEPED BY J.KIRUTHIKA MSC
COMPUTER SCIENCE</h4><br>
<br>
</table>
</body>
</html>

View coding:

<html>
<head>

</head>
<body>

<?php
$conn = mysqli_connect('localhost','root','');
if(!$conn)
{
die('could not connect:'. mysqli_error());
}
mysqli_select_db($conn,"department");

$sql=mysqli_query($conn,"select * from stud_per_info");


?>

<table align="center"bgcolor="white"><td><h1 align="center"><u> Student


Personal Information</u></h1>

<br><br><br><table border="1" align="center" colspan="0" cellspacing="0"


cellpadding="8">

<tr><th>reg_no<th>name<th>age<th>dob<th>gender<th>bat<th>cate<th>s_m
ode<th>mot<th>dept<th>blood_group<th>f_name<th>m_name<th>g_name<th
>address_1<th>address_2<th>address_3<th>address_4<th>pincode<th>mobile
_no</tr>
<?php
while($row=mysqli_fetch_array($sql))
{
$reg=$row['reg_no'];
echo "<tr><td>".$row['reg_no']."<td>".$row['name']."<td>".$row['age']."<td>".
$row['date_of_birth']."<td>";

if ($row['gender']=='0')
{
echo "Male";
}else
{
echo "Female";
}
echo"<td>";
echo $row['batch'];

echo "<td>";
if($row['cate']=='0')
{
echo "OC";
}
else if($row['cate']=='1')
{
echo "BC";
}
else if ($row['cate']=='2')
{
echo "MBC/DNC";
}
else if($row['cate']=='3')
{
echo "SC/ST";
}
echo "<td>";
if($row['s_mode']=='0')
{
echo "Hostel";
}
else
{
echo "Days Scholar";
}
echo "<td>";
if ($row['mot']=='0')
{
echo "College bus";
}
else
{
echo "others";
}

echo"<td>";
if ($row['dept']=="1")
{
echo"M.Sc(CS)";
}
else
{
echo" computer science";
}
echo "<td>".$row['blood_group']."<td>".$row['f_name']."<td>".
$row['m_name']."<td>".$row['g_name']."<td>".$row['address_1']."<td>".
$row['address_2']."<td>".$row['address_3']."<td>".$row['address_4']."<td>".
$row['pin_code']."<td>".$row['mobile_no']."<td><a href='studedit.php?
regno=$reg' onclick='editfunc()'>EDIT</a>"."<td><a href='studdel.php?
regno=$reg'>DELETE</a>"."</tr>";
?>
<input type="hidden" name="reg_no" value="$row['reg_no']">
<?php
}
?>

</body>
</html>

Edit coding:
<?php
$conn = mysqli_connect('localhost','root','');
if(!$conn)
{
die('could not connect:'. mysqli_error());
}
mysqli_select_db($conn,"department");

$a=$_GET['regno'];
$sql=mysqli_query($conn,"select* from stud_per_info where reg_no='$a'");
while($row=mysqli_fetch_array($sql))
{
?>
<table border="2"width="100%" bgcolor="silver"><td><h1
align="center"><u>Student Personal Information</u></h1>
</table>
<br>
<br>
<form name="12" action="studedit1.php" method="post">
<table border="4" cellspacing=0 bgcolor=lightgrey borderlightcolor=lightgrey
borderdarkcolor=lightgrey>
<tr ><td ><table border="0">
<center>
<tr><td><i>Reg No<td>:<td><input type="text box" name="reg_no"
value="<?php echo $row['reg_no']?>"></i></tr>
<tr><td><i>Name<td>:<td><input type="text box" name="name" value="<?
php echo $row['name']?>"></i></tr>
<tr><td><i>Age<td>:<td><input type="text box" name="age" value="<?php
echo $row['age']?>"></i></tr>
<tr><td><i>Date Of Birth<td>:<td><input type="date" name="dob" value="<?
php echo $row['date_of_birth']?>"></i></tr>
<tr><td><i>Gender<td>:
<?php
if ($row['gender']==0)
{
?>
<td><input type="radio" name="gender" value="0"
checked><i>Male</i><input type="radio" name="gender"
value="1"><i>Female</i></tr>
<?php
}else
{
?>
<td><input type="radio" name="gender" value="0"><i>Male</i><input
type="radio" name="gender" value="1" checked><i>Female</i></tr>
<?php
}
?>
<tr><td><i>Batch<td>:
<td><select name=bat>
<?php

if($row['batch']==2014)
{
?>
<option value="2014">2014-2019</option>
<option value="2015">2015-2020</option>
<option value="2016">2016-2021</option>
<option value="2017">2017-2022</option>
<option value="2018">2018-2023</option>
<?php
}
elseif ($row['batch']==2015)
{
?>
<option value="2015">2015-2020</option>
<option value="2016">2016-2021</option>
<option value="2017">2017-2022</option>
<option value="2018">2018-2023</option>
<option value="2014">2014-2019</option>
<?php
}
elseif ($row['batch']==2016)
{
?>
<option value="2016">2016-2021</option>
<option value="2015">2015-2020</option>
<option value="2014">2014-2019</option>
<option value="2017">2017-2022</option>
<option value="2018">2018-2023</option>
<?php
}
elseif ($row['batch']==2017)
{
?>
<option value="2017">2017-2022</option>
<option value="2016">2016-2021</option>
<option value="2015">2015-2020</option>
<option value="2014">2014-2019</option>
<option value="2018">2018-2023</option>
<?php
}
elseif ($row['batch']==2018)
{
?>
<option value="2018">2018-2023</option>
<option value="2017">2017-2022</option>
<option value="2016">2016-2021</option>
<option value="2015">2015-2020</option>
<option value="2014">2014-2019</option>
<?php
}
?>
</select>
<tr><td><i>Category<td>:
<?php

if ($row['cate']==0)
{
?>
<td><input type="radio" name="category" value="0"
checked><i>OC</i>
<input type="radio" name="category" value="1"><i>BC</i>
<input type="radio" name="category" value="2"><i>MBC/DNC</i>
<input type="radio" name="category" value="3"><i>SC/ST</i>
<?php
}
elseif ($row['cate']==1)

{
?>
<td><input type="radio" name="category" value="0" ><i>OC</i>
<input type="radio" name="category" value="1"checked><i>BC</i>
<input type="radio" name="category" value="2"><i>MBC/DNC</i>
<input type="radio" name="category" value="3"><i>SC/ST</i>
<?php
}
elseif ($row['cate']==2)
{
?>
<td><input type="radio" name="category" value="0"><i>OC</i>
<input type="radio" name="category" value="1"><i>BC</i>
<input type="radio" name="category"
value="2"checked><i>MBC/DNC</i>
<input type="radio" name="category" value="3"><i>SC/ST</i>
<?php
}
elseif ($row['cate']==3)
{
?>
<td><input type="radio" name="category" value="0"><i>OC</i>
<input type="radio" name="category" value="1"><i>BC</i>
<input type="radio" name="category" value="2"><i>MBC/DNC</i>
<input type="radio" name="category" value="3" checked><i>SC/ST</i>
<?php
}

?>
<tr><td><i>Stay mode<td>:
<?php
if ($row['s_mode']==0)
{
?>
<td><input type="radio" name="stay" value="0"
checked><i>Hostel</i><input type="radio" name="stay" value="1"><i>Days
Scholar</i></tr>
<?php
}else
{
?>
<td><input type="radio" name="stay" value="0"><i>Hostel</i><input
type="radio" name="stay" value="1" checked><i>Days Scholar</i></tr>
<?php
}
?>
<tr><td><i>Mode of transport<td>:
<?php
if ($row['mot']=='0')
{
?>
<td><input type="radio" name="transport" value="0"
checked><i>College Bus</i><input type="radio" name="transport"
value="1"><i>Others</i></tr>
<?php
}else
{
?>
<td><input type="radio" name="transport" value="0"><i>College
bus</i><input type="radio" name="transport"
value="1"checked><i>others</i></tr>
<?php
}
?>

<tr><td><i>Department<td>:
<td><select name=dept>
<?php
if ($row['dept']==1)
{
?>
<option value="1">M.SC Software engineering</option>
<option value="2">Computer application</option>
<?php
}
elseif($row['dept']==2)
{
?>
<option value="1">M.SC computer science</option>
<option value="2">Computer application</option>
<?php
}
?>
</select>
<tr><td><i>Blood Group<td>:<td><input type="text box" name="blood"
value="<?php echo $row['blood_group']?>"></i></tr>
<tr><td><i>Father's Name<td>:<td><input type="text box"
name="father_name" value="<?php echo $row['f_name']?>"></i></tr>
<tr><td><i>Mother's Name<td>:<td><input type="text box"
name="mother_name" value="<?php echo $row['m_name']?>"></i></tr>
<tr><td><i>Guardian's Name<td>:<td><input type="text box"
name="guardian_name" value="<?php echo $row['g_name']?>"></i></tr>
<tr><td><i>Address1<td>:<td><input type="text box" name="address1"
value="<?php echo $row['address_1']?>"></i></tr>
<tr><td><i>Address2<td>:<td><input type="text box" name="address2"
value="<?php echo $row['address_2']?>"></i></tr>
<tr><td><i>Address3<td>:<td><input type="text box" name="address3"
value="<?php echo $row['address_3']?>"></i></tr>
<tr><td><i>Address4<td>:<td><input type="text box" name="address4"
value="<?php echo $row['address_4']?>"></i></tr>
<tr><td><i>Pin_code<td>:<td><input type="text box" name="pin" value="<?
php echo $row['pin_code']?>"></i></tr>
<tr><td><i>Mobile number<td>:<td><input type="text box"
name="mobile_no" value="<?php echo $row['mobile_no']?>"></i></tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr>
<tr><td align=center colspan=3><input type="Submit"
value="submit">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input
type="Reset" value="reset"></tr>
</table>
</table>
</form>
<br>
<br>
<table border="2"width="100%" bgcolor="silver"><td><h4
align="center">DESIGNED AND DEVOLEPED BY J.KIRUTHIKA MSC
COMPUTER SCIENCE</h4><br>
<br>
</table><?php
}
echo $sql;
mysqli_query($conn,$sql);
header("refersh:2;url=studview.php");

?>
Edit1 coding:

<?php

$conn = mysqli_connect('localhost','root','');

if(!$conn)

die('could not connect:'. mysqli_error());

mysqli_select_db($conn,"department");

$a=$_POST['reg_no'];

$b=$_POST['name'];

$c=$_POST['age'];

$d=$_POST['dob'];

$e=$_POST['gender'];

$f=$_POST['bat'];

$g=$_POST['category'];
$h=$_POST['stay'];

$i=$_POST['transport'];

$j=$_POST['dept'];

$k=$_POST['blood'];

$l=$_POST['father_name'];

$m=$_POST['mother_name'];

$n=$_POST['guardian_name'];

$o=$_POST['address1'];

$p=$_POST['address2'];

$q=$_POST['address3'];

$r=$_POST['address4'];

$s=$_POST['pin'];

$t=$_POST['mobile_no'];

$sql="UPDATE stud_per_info SET


reg_no='$a',name='$b',age=$c,date_of_birth='$d',gender=$e,batch='$f',cate=
$g,s_mode=$h,mot=$i,dept=$j,blood_group='$k',f_name='$l',m_name='$m',
g_name='$n',address_1='$o',address_2='$p',address_3='$q',address_4='$r',pi
n_code=$s,mobile_no=$t where reg_no='$a'";
echo $sql;

mysqli_query($conn,$sql);

header("refersh:2;url=studview.php");

?>

Delete coding:

<?php

$conn = mysqli_connect('localhost','root','');

if(!$conn)

die('could not connect:'. mysqli_error());

mysqli_select_db($conn,"department");

$a=$_GET['regno'];
$sql="delete from stud_per_info where reg_no='$a'";

echo $sql;

mysqli_query($conn,$sql);

header("Location:studview.php");

?>

Search coding:

<html>

<head>

<title>STUDENT PERSONAL INFORMATION SYSTEM</title>

<body bgcolor="#334CFF ">

<center>

<form name="stud" action="searching.php" method="post">

<table border="2"width="100%" bgcolor="silver"><td><h1


align="center"><font color="black"><u> STUDENT PERSONAL
INFORMATION SYSTEM <a
href="frontform1.html"></a></u></font></h1></table>

<br>
<br>

<table border="4" width="40%" height="20%" cellspacing=0


bgcolor=lightgrey borderlightcolor=lightgrey borderdarkcolor=lightgrey>

<tr ><td >

<table border="0">

<tr><td><input type="radio" name="search" value="dept_no"><font


color="black" align="left" size="4">Reg no</font></td>

<td><input type="radio" name="search" value="uni_no"><font


color="black" align="center" size="4">Name</font></td>

<tr><tr><tr><tr><tr><tr><tr><tr><tr><tr><tr><tr><tr><tr><tr><tr><tr><tr
><tr><tr><tr><tr><tr><tr><tr><tr><tr><tr><tr><tr><tr><tr>

<tr><td align="center" colspan="3"><input type="Submit"


value="SEARCH">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input
type="Reset" value="CANCEL"></tr>

</table>

</table>

<br>

<br>
<table border="2"width="100%" bgcolor="silver"><td><h5
align="center"><br>DESIGNED AND DEVOLEPED BY J.KIRUTHIKA
MSC COMPUTER SCIENCE</h5>

</table>

</body>

</html>

Diplay all coding(Report):

<?php

@mysql_connect('localhost','root','');

mysql_select_db('department');

$sql="SELECT * FROM stud_per_info";

$records=mysql_query($sql);

?>

<html>

<head>
<script>

function printpage() {

var printButton = document.getElementById("printpagebutton");

printButton.style.visibility = 'hidden';

window.print()

printButton.style.visibility = 'visible';

</script>

<body bgcolor="#FF6347 ">

<center>

<table border="2"width="100%" bgcolor="silver"><td><h1


align="center"><font color="black"><u> STUDENT PERSONAL
INFORMATION SYSTEM<a href="frontform.html"><img
src="collage.jpg" width="40" height="40" align="left"></a></u></h1>

</table><br><br>
<table border="2" cellspacing=0 bgcolor=lightgrey
borderlightcolor=lightgrey borderdarkcolor=lightgrey>

<th><h2>Regno</h2></th>

<th><h2>Name</h2></th>

<th><h2>Age</h2></th>

<th><h2>DOB</h2></th>

<th><h2>Gender</h2></th>

<th><h2>Batch</h2></th>

<th><h2>Cate</h2></th>

<th><h2>Smode</h2></th>

<th><h2>MOT</h2></th>

<th><h2>Dept</h2></th>

<th><h2>BGroup</h2></th>
<th><h2>FName</h2></th>

<th><h2>MName</h2></th>

<th><h2>GName</h2></th>

<th><h2>Add1</h2></th>

<th><h2>Add2</h2></th>

<th><h2>Add3</h2></th>

<th><h2>Add4</h2></th>

<th><h2>pincode</h2></th>

<th><h2>Mobile_no</h2></th><br>

<tr>

<?php

while($row=mysql_fetch_assoc($records))

echo"<tr>";
echo"<td>".$row['reg_no']."</td>";

echo"<td>".$row['name']."</td>";

echo"<td>".$row['age']."</td>";

echo"<td>".$row['date_of_birth']."</td>";

echo"<td>".$row['gender']."</td>";

echo"<td>".$row['batch']."</td>";

echo"<td>".$row['cate']."</td>";

echo"<td>".$row['s_mode']."</td>";

echo"<td>".$row['mot']."</td>";

echo"<td>".$row['dept']."</td>";

echo"<td>".$row['blood_group']."</td>";

echo"<td>".$row['f_name']."</td>";

echo"<td>".$row['m_name']."</td>";

echo"<td>".$row['g_name']."</td>";

echo"<td>".$row['address_1']."</td>";

echo"<td>".$row['address_2']."</td>";
echo"<td>".$row['address_3']."</td>";

echo"<td>".$row['address_4']."</td>";

echo"<td>".$row['pin_code']."</td>";

echo"<td>".$row['mobile_no']."</td>";

echo"</tr>";

?>

</table>

</center>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><in
put id="printpagebutton" type="image" src="pn.png" height="50"
width="70" align="center" style="float:right" onclick="printpage()"/>

<br>
<table border="2"width="100%" bgcolor="silver"><td><h5
align="center"><br>DESIGNED AND DEVOLEPED BY

J.KIRUTHIKA MSC COMPUTER SCIENCE</h5>

</table>

</body>

</html>

8.2 SNAPSHOTS:

Login page:
Front form:

Entry page:
Search page:

Report page:

You might also like