Professional Documents
Culture Documents
DATABASE SYSTEM
by
an IT Project Presented to the Faculty of the College for Research and Technology of
Cabanatuan in Partial Fulfilment of the requirements for the degree of Bachelor of
Science in Information Technology
INTRODUCTION
Background
students, and staff in an accessible, user-friendly way with a single point of contact. It
The guidance provides help or advice that tells you what to do. It is the process of
issues with oneself or a group. Some people want to overcome fear or childhood issues.
require special assistance in dealing with developmental problems and immediate conflict.
This teacher and other staff in direct contact with the students need support that the guidance
program can best supply. The guidance program, moreover, is based on the belief that all
students, such as those with challenging needs, have the right to benefit from practical
The Fort Magsaysay National High School Guidance Office has been using the
manual processing of guidance information and monitoring student information for many
years. With the growth of the population of students enrolled in the school, the guidance
office should perform more efforts to maintain reliable and accurate data. This system is
designed to provide capabilities for managing student information, including tracking student
and HTML, CSS, and JavaScript for the design of this project.
CONCEPTUAL FRAMEWORK
The researcher built this project to ease the process of recording every student who
has a violation or who else will have a breach in the school. This project was created in PHP
as a programming language and MySQL for the database, and HTML, CSS, and JavaScript
This Conceptual Framework shows the system's IPO, input, process, and output. The
input information will be responsible for users, student information and violation. The
process included student records, good moral form and student information form. The output
1. How to create a Guidance Office Centralized Information System using PHP and MySQL?
2. How would the system record the problem and violations of a student in the guidance
office?
3. How would the system track the records of students by using this program?
General Objectives
Specific Objectives
To create a Guidance Office Centralized Information System using PHP and MySQL.
The system would record the violations and sanctions of students in the guidance
office.
The plan would track the records of students by using this program.
Scope
This study focuses on Guidance Office Centralized Information System that helps
guidance office counselors. The system is intended for two users: Administrator and
Login Module- access provided login form for the Administrator and Counselors for
Information Form, Violators and Violation Form, and Good Moral Form to be
generated.
Student Information Form- where all the information the students need is encoded
by the Guidance Counselors. The guidance Counselors may only see this.
Student Record Form- displays the list of student information (basic information,
Violators and Violation Form- contains the name of the student who violated and its
violation.
Good Moral Form- where the guidance counselor provides a printed document.
Limitation
The authorized personnel of the Guidance office can only use it and no access to
student.
It is only for monitoring and saving student information needed for the guidance
office.
CHAPTER II
[ALEG2021], The developed Record Management System for Guidance and Counseling
Center of the Nueva Ecija University of Science and Technology aimed to provide software
application that will manage the record of student and provides fast and easy access of
personal information of students. The functions focused in adding and updating students’
information/profile by using the application. The user can produce a printed copy of the
record of student. The development of the Record Management System underwent the phases
guidance service as an integral part of the education focuses on the programs and services for
the students that might be significant to their optimum achievement in life. The student
records collected by their office are used to enhance the counselling process, and to know and
academic, vocational, social, and personal needs of the students. This study is conducted to
help the guidance office perform their tasks by integrating Information and Communications
Technology (ICT) in their field. The Guidance Records Management System with Short
Message Service (SMS) Notification developed to assist their needs in recording, keeping,
and managing the cumulative records of the students, as well as tendered admission slips of
the students to monitor their attendance and referred incident reports by teachers for their
observed behavior inside the school. The guidance office can efficiently send notification to
the parent or guardian through SMS once the student gets involved in any incident, such as
reasons.
advanced technology in colleges and universities has led to increase efficiency in processing
and exchanging of records, maintaining data quality, and production is leading to increase
quality education and services. The study aimed to design and develop a computerized
system to improve the student record management at the Guidance Office of Jose Rizal
system computerizes the student records such as data from student record form,
psychological test results, counseling notes, admission slips, referral slips and generates good
moral certificates.
As stated by Douglas Kunda and Alinaswe Siame [KUND2017], This paper reviews,
some of the research work done in the evolution of PHP applications that have been around
and are vastly used. PHP is currently one of the most popular programming languages,
widely used in both the open source community and in industry to build large web-focused
applications and application frameworks. This review looks at how PHP applications have
evolved in terms of the use of libraries, the software maturity, adoption of object-orientation
paradigm, the evolution of complexity and security. The results suggest that these systems
undergo systematic maintenance and evolution is helping the underlying programming
language to grow.
[KATR2019], The paper explains the need for using up-to-date security methods in order to
protect some of the most sensitive information in every system: user passwords. MD5, SHA1,
bcrypt and Argon2 have been compared as password hashing algorithms. The
recommendations in this paper will help developers create systems with up-to-date security
language enhancements and improvements to performance, in some cases more than twice as
fast and using less than half the memory compared to PHP 5.6. During the writing of this
book, version 7.0, 7.1, and 7.2 was released; and before the ink on this book is dry, PHP 7.3
will be released. The MySQL database has also seen many changes. First of all, the
acquisition by Oracle and subsequent release of Maria DB, a fork of the MysQL version with
both performance and feature improvements and a fast-growing community, has taken the
new version to heart. It is, in fact, the standard MySQL database on many Linux distributions
today. This book will teach you to install and configure PHP and MySQL with both
performance and security in mind and highlight some of the new functionality available in
PHP 7 as well as new data types supported by the current version of MySQL.
abstract machine. An abstract machine is a model of the key features of some system without
any detail of implementation. The objective of this chapter is to describe the major
components of a database system without introducing any formal notation, or introducing any
a need to record data relevant to their everyday activities. Many modern-day organisations
As stated by Chintan Mehta, Ankit K Bhavsar, Hetal Oza and Subhash Shah
performance easiness to use, and reliability. This the most common choice of web
applications rely on MySQL including giant industries such as Facebook, Twitter, and
Wikipedia. It has also proven to be the database choice for Software as a Service (SaaS)
RightNow, Omniture, Zimbra, and many more. We will discuss this in detail in the use cases
of MySQL section later in the chapter. MySQL was developed by MySQL AB, a Swedish
company, and now it is distributed and supported by Oracle Corporation. MySQL carries a
valuable history with it. MySQL has continued to improve in order to become an enterprise-
are in the age of digitization. MySQL 8 is all tuned to serve many new use cases that in prior
versions were difficult to achieve. Some of the use cases an enormous amount of data is
produced are social networking e-commerce, bank/credit card transactions, emails, data
stored on the cloud, and so on. Analysis of all such structured, unstructured, or semi-
structured ubiquitous data helps to discover hidden patterns, market trends, correlations, and
personal preferences.
the experience of expressing themselves online. They can do that through fixed-format media
such as Facebook, Twitter, and Instagram, but for many people, these sites are too restrictive.
Instead, they prefer to build their own presence on the web, and the way to do that with the
maximum amount of freedom and creativity is to learn HTML and CSS. In programming
circles, many people believe that the best way to learn how to code is by coding. Reading
about the language is fine and necessary, but if you really want to learn the language, you
computers. Computers are about as common as screwdrivers today, but they are quite a bit
more complex, and making them do what you want them to do isn't always easy.If the task
you have for your computer is a common, well-understood one, such as showing you your
email or acting like a calculator, you can open the appropriate application and get to work.
But for unique or open- ended tasks, there probably is no application.That is where
programming may comne in. Prugramming is the act of con- structing a fogram-a set of
precise instructions telling a computer what to do. Because computers are dumb. pedantic
This chapter discusses the flow of the Guidance Office Centralized Information
Database System. The proponents use the Gantt chart to show the plan for the entire system
project by breaking it down into phases and explaining each to make it more understandable
and organized. The supporters also created four diagrams: the V-Model, Context Diagram,
ER Diagram and Dataflow Diagram. The goal of this diagram is to discuss the tools that will
be used: PHP for the code, MySQL for the database, HTML and CSS for the design, and the
Planning
In the planning phase, the researchers made a plan for the project. The Introduction,
Fort Magsaysay National High School, which was a big help to the project's development.
Review of Documentation
The researchers conducted this phase to review all the requirements and formulate the
The researchers began coding in order to develop the interface, and the entire system
will be operational from the first week of December to the last week of April. Designing the
system, researchers chose to use the following: (1) PHP: Hypertext Pre-processor, used to
create scripting knowledge about the server and the user; and (2) Bootstrap, used to create
responsive, mobile-first, and front-end frameworks. (3) HTML and CSS for design
Implementation
The final phase is the implementation phase, in which the system is built. This
included system construction, where the procedure was tested and designed to ensure good
This V-model figure shows how the system processes happen in the form of a V-
shape and how to make the system more possible and organized.
Requirements Analysis
The researchers analyzed the requirements used to meet the users' needs during this
phase. For example, whether the platform is compatible with the knowledge and budget, etc.
The system's supporters also gathered the resources required to implement it.
After unit testing, the researchers conducted system testing, which ran the program as
a whole and tried any possible action with the system program.
researchers performed a final operation test to determine how well the system program is
operational and evolving. This is the final stage of testing, which should go much more
The process of the entire system is depicted in this context diagram. The two external
entities, such as the admin and guidance Counselor, are illustrated in this diagram by the
Guidance Office Centralized Information Database System. The context diagram shows the
structure of the guidance office system for students at the Fort Magsaysay National High
School. The Guidance Counselor will be in charge of the entire system. Managing updates
and recording the student's activities are all features of this system for the guidance office.
The Guidance Counselor must provide a valid username and password to gain access to the
system. After logging in, the Guidance Counselor can begin viewing the student records,
student violations, and account data. It outputs whether their account is valid or invalid,
student records, student violations, and account data. Students are only allowed access to
This figure shows how the system will work and access data. The Administrator needs
to log in with their username and password. The Administrator is responsible for managing
the students and guidance counselor for updating their records and adding. In addition, they
also need to log in with their username and password. The guidance counselor can view the
information of the student contains name, year, and section, and their records.
Figure 3.4 Data Flow Diagram
This figure represents the flow of data through a process or a system. The
Administrator needs to log in with their username and password. The Administrator is
responsible for managing the students and guidance counselor for updating their records,
deleting, and adding. The guidance counselor can view the student's information that contains
name, year & section, student data information, and their violation records, and violated
students. The student's data information has a guidance information database. In addition, the
guidance counselor can compile the records, and if they request students' good morals, the
ITEM DESCRIPTION
Table 3.1 shows the minimum hardware specification for PC required to create the
application.
ITEM DESCRIPTION
Operating System Microsoft Windows 7/8/10(32 or 64 bit)
Table 3.2 shows the minimum software specification for PC required to create the
application.
CHAPTER IV
Findings and
In this page user can access the system. IT consists of a login and forgot password to choose
Source code
<form id="loginForm" action="assets/admin_login_work.php" method="POST">
<div class="input_group">
<div class="input_container " >
<div class="input " id="input_username">
<input class="input-field" type="text" placeholder="Username"
name="username" id="username">
<i id="i_username" ></i>
<i class="fas fa-user-tie"></i>
</div>
</div>
<div class="input_container " >
<div class="input " id="input_password">
<input class="input-field" type="password" placeholder="Password"
name="password" id="password">
<i class="fas fa-eye" id="viewPass"></i>
<i id="i_password" ></i>
<i class="fas fa-lock"></i>
</div>
</div>
</div>
<div class="bttn_group">
<div class="login_bttn">
<button type="submit" name="submit" class="selection_bttn"><i class="fas
fa-sign-in-alt"></i> Login</button>
</div>
</div>
<div class="p_register">
<a href="../Admin Forgot Password/">Forgot your Password?</a>
</div>
</form>
total students enrolled and the total violations made by the students.
Source code
<div class="body_container" onload="initClock()">
<div class="container">
<div class="title">
<h1>DashBoard</h1>
<hr>
</div>
<div class="divider">
<!-- Date, Day, and Time day VISUALIZATION -->
<div class="dash_content time_date" >
<div class="datetime">
<div class="date">
<span id="dayname">Day</span>,
<span id="month">Month</span>
<span id="daynum">00</span>,
<span id="year">Year</span>
</div>
<div class="time">
<span id="hour">00</span>:
<span id="minutes">00</span>:
<span id="seconds">00</span>
<span id="period">AM</span>
</div>
</div>
</div>
<!-- A.Y CODE VISUALIZATION -->
<div class="dash_content">
<h3><i class="fas fa-school"></i>Academic Year: </h3>
<?php
include('assets/dbconnection.php');
$get = $conn->query("SELECT * FROM foracademicyear ORDER BY code DESC LIMIT 1");
$fetch = mysqli_fetch_array($get);
$code = $fetch['code'];
echo '<p>'.$code.' Semester</p>';
?>
</div>
<!-- TOTAL NUMBERS OF STUDENT VISUAL DATA -->
<div class="dash_content" href="../Violation Maintenance Student Details/">
<?php
include('assets/dbconnection.php');
$query = "SELECT id FROM forstudents ORDER BY id";
$run = mysqli_query($conn, $query);
$row = mysqli_num_rows($run);
echo '<h3><i class="fas fa-user-graduate"></i>Total Student: </h3>';
echo '<p>'.$row.'</p>';
?> </a>
</div>
<!-- TOTAL NUMBERS OF VIOLATION VISUAL DATA -->
<div class="dash_content">
<?php
include('assets/dbconnection.php');
$query2 = "SELECT entry_id FROM forviolationentries ORDER BY entry_id";
$run2 = mysqli_query($conn, $query2);
$row2 = mysqli_num_rows($run2);
echo '<h3><i class="fas fa-user-alt-slash"></i>Total Violation: </h3>';
echo '<p>'.$row2.'</p>';
?>
</div>
</div>
</div>
</div>
This page is generally the Student information on the system. On this page, it could
add a student information and upload a excel file for student records.
Source code
<div class="subcontent">
<div class="title">
<h1>Student Details</h1>
<hr>
</div>
<div class="sd_bttn_group">
<a class="sd_bttn" id="upload_student_bttn">
<i class="fas fa-upload"></i>
Upload
</a>
<a class="sd_bttn" id="openModal_add_student">
<i class="fas fa-plus-square" ></i>
Create
</a>
</div>
<div class="sd_table_content">
<table class="sd_table" id="table">
<tr>
if ($SQL->num_rows > 0) {
while ($row = $SQL->fetch_assoc()) {
?>
<tr>
<td class="stud_details_data"><?php echo $row['studNum']; ?> </td>
<td class="stud_details_data"><?php echo $row['lastName']; ?> </td>
<td class="stud_details_data"><?php echo $row['firstName']; ?> </td>
<td class="stud_details_data"><?php echo $row['middleName']; ?> </td>
<td class="stud_details_data"><?php echo $row['Section']; ?> </td>
<td class="stud_details_data"><?php echo $row['Address']; ?> </td>
<td class="stud_details_data"><?php echo $row['Gender']; ?> </td>
<td class="stud_details_data"><?php echo $row['p_description']; ?> </td>
<td class="stud_details_data"><?php echo $row['a_code']; ?> </td>
</tr>
<?php
}
}
?>
</table>
</div>
</div>
Figure 4.4 Violation Enrty Page (Guidance Counselor)
This is the page wherein the student violations and student profiles can be seen. This
is also the page wherein the guidance counselor can enter a certain violation for that specific
student.
Source code
<div class="body_container">
<div class="content">
<div class="title">
<h1>Violation Entry</h1>
<hr>
</div>
<?php if (isset($_GET['msg'])) { ?>
<input class="input" type="hidden" id="msg" name="msg" value="<?php echo $_GET['msg']; ?>">
<?php } ?>
<!-- SEARCH BOX -->
<div class="searchBar">
<form action="" method="POST">
<input class="srcinput" type="text" placeholder="Search Student No" name="search" id="search"
class="search">
<button class="srcbttn" type="submit" name='submit'><i class="fa fa-search"></i></button>
</form>
</div>
<!-- STUDENT INFO -->
<div class="studentInfo">
<!-- DATA MANIPULATION BUTTONS -->
<div class="action_content">
<div class="action_bttn">
<button class="bttn" id="bttnModalEntry"> Create Entry</button>
</div>
</div>
</div>
<tr>
<th class="violation_title">Student Number</th>
<th class="violation_title">Name</th>
<th class="violation_title">Course</th>
<th class="violation_title" style="width: 7%;">Section</th>
<th class="violation_title">A.Y Code</th>
<th class="violation_title">Violation</th>
<th class="violation_title">Sanction</th>
<th class="violation_title">Date</th>
<th class="violation_title" style="width: 50px;">Edit</th>
</tr>
<?php
if ($SQL->num_rows > 0) {
while ($row = $SQL->fetch_assoc()) {
?>
<tr>
<td class="violation_data studNum<?php echo $row['entry_id']; ?>" id="<?php echo
$row['studNum']; ?>"><?php echo $row['studNum']; ?> </td>
<td class="violation_data"><?php echo $row['fullName']; ?> </td>
<td class="violation_data"><?php echo $row['p_description']; ?> </td>
<td class="violation_data"><?php echo $row['Section']; ?> </td>
<td class="violation_data"><?php echo $row['a_code']; ?> </td>
<td class="violation_data Violations<?php echo $row['entry_id']; ?>" id="<?php echo
$row['Violations']; ?>"><?php echo $row['Violations']; ?> </td>
<td class="violation_data Sanctions<?php echo $row['entry_id']; ?>" id="<?php echo
$row['Sanctions']; ?>"><?php echo $row['Sanctions']; ?> </td>
<td class="violation_data Date<?php echo $row['entry_id']; ?>" id="<?php echo $row['Date']; ?
>"><?php $date = date("d/m/Y", strtotime($row['Date'])); echo $date; ?> </td>
<td class="violation_data">
<button class="viol_data editBttn" id="<?php echo $row['entry_id']; ?>">
<i class="fa-solid fa-pen-to-square"></i></button>
</td>
</tr>
<?php
}
}
?>
</table>
</div>
</div>
</div>
Figure 4.5 Violation Records Page (Guidance Counselor)
This page shows the total number of the student who committed violations/ offenses.
Source code
<div class="body_container">
<div class="content_rec">
<div class="title">
<h1>Violation Records</h1>
<hr>
</div>
<div class="violation_records_content">
<form method = "POST" action="">
<div class="records_action_prop">
<div class="records_print_bttn">
<a href="#" class="bttn" id="print_record_btn">
<i class="fas fa-print"></i>
Print Record
</a>
</div>
</div>
<!-- TABLE # 1 -->
<div class="list_student_violation">
<!--<h3 class="list_title">List</h3>-->
<table class="display_violation_record">
<tr>
<th class="violation_title">Student Number</th>
<th class="violation_title">Name</th>
<th class="violation_title">Program</th>
<th class="violation_title" style="width: 8%;">Section</th>
<th class="violation_title">Violations</th>
<th class="violation_title">Sanctions</th>
<th class="violation_title">A.Y. Code</th>
<th class="violation_title">Date</th>
</tr>
<tbody>
<tr>
<?php
?>
<tr>
<td class="violation_data"><?= $studNum ?> </td>
<td class="violation_data"><?= $fullName ?> </td>
<td class="violation_data"><?= $pCode ?> </td>
<td class="violation_data"><?= $Section ?> </td>
<td class="violation_data"><?= $Violations ?> </td>
<td class="violation_data"><?= $Sanctions ?> </td>
<td class="violation_data"><?= $code ?> </td>
<td class="violation_data"><?php
$date = date("d/m/Y", strtotime($row['Date']));
echo $date; ?>
</td>
</tr>
<?php
}
?>
</tr>
</tbody>
</table>
</div>
</form>
</div>
</div>
</div>
Figure 4.5 Good Moral Page (Guidance Counselor)
In this page you can create and print good moral for the student.
Source code
<p class=MsoNormal style='margin-right:.5pt;text-indent:6.5pt'><span
style='font-size:14.5pt;font-family:"Times New Roman",serif;mso-fareast-font-family:
"Times New Roman"'><span style='mso-spacerun:yes'> </span></span><b
style='mso-bidi-font-weight:normal'><span style='font-size:17.5pt;mso-bidi-font-size:
11.0pt;font-family:"Arial",sans-serif;mso-hansi-font-family:Calibri;mso-hansi-theme-font:
minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;
color:#010101;mso-font-width:105%'>CERTIFICATE<span style='letter-spacing:.05pt'>
</span>OF<span style='letter-spacing:-1.3pt'> </span>GOOD<span
style='letter-spacing:-.9pt'> </span>MORAL<span style='letter-spacing:-1.3pt'>
</span>CHARACTER</span></b><span
style='font-size:17.5pt;font-family:"Arial",sans-serif;mso-fareast-font-family:
Arial'><o:p></o:p></span></p>
5.1 Summary
The study was conducted the effect of using Computerized System than a manual
system. That’s why the Guidance Office Centralized Database System is design to speed up
the transaction inside the Guidance Office, to record and retrieving of files in the students.
This study aims to lessen the time-consuming in retrieving files and eliminating
works. Due to increasing population of the school, this study can help the Guidance
5.2 Conclusion
2. The computerized System is the solution to the problem that occurs in guidance office.
Therefore, In order to improve the performance of the Guidance Office, in keeping record of
5.3 Recommendation
and still looking for a new system that can improve the transaction.
3. The researchers recommended for the future developers to make the system a web
base application.