You are on page 1of 42

A

Major Project Report On

“ PHP RESULT MANAGEMENT SYSTEM ”


Submitted
in partial fulfilment for the award of the Degree of

“BACHELOR OF TECHNOLOGY”
IN

“COMPUTER SCIENCE ENGINEERING”

(Session 2023-24)

Submitted To Submitted By
Mr. Vinayak Mehta Mohammed Usman Gani Qureshi

(Head of Department) 20ERACS021

Computer Science Engineering (B.Tech, 8th SEMESTER)

DEPARTMENT OF COMPUTER SCIENCE ENGINEERING


ARAVALI INSTITUTE OF TECHNICAL STUDEIES, UDAIPUR
RAJASTHAN TECHNICAL UNIVERSITY KOTA
CONTENT

Declaration ........................................................................................ 03
Acknowledgement ............................................................................ 04
Abstract ............................................................................................. 05
Introduction….................................................................................... 07
PHP ................................................................................................... 09
My SQL ............................................................................................ 10
PHP .................................................................................................... 11
Apache Http Server .......................................................................... 11
Http Server & Proxy Features .......................................................... 12
MD5 Security .................................................................................... 13
Home Page ........................................................................................ 14
Contact Page ..................................................................................... 14
Admin Login ...................................................................................... 14
Admin Dashboard .............................................................................. 14
Admin View & Edit Details .............................................................. 14
Admin Add Class ............................................................................... 15
Admin Manage Class.........................................................................15
Admin Add Student ........................................................................... 15
Admin Manage Student .....................................................................15
Admin Add Notice ............................................................................. 15
Admin Manage Notice.......................................................................15
Admin Add Public Notice ................................................................. 16
Admin Manage public Notice ...........................................................16
Admin Add Student’s Result ............................................................. 16
Admin Manage Student’s Result ....................................................... 16
Admin View Annual Report .............................................................. 16
Admin Search Students ..................................................................... 16
Student Login..................................................................................... 17
Student Dashboard ............................................................................. 17
Student View & Edit Profile.............................................................. 17
Student View Result .......................................................................... 17
Student Result Download … ............................................................. 17
SQL Code … ..................................................................................... 18
SQL Code Explaination … ................................................................ 27
Project Images … .............................................................................. 35
Conclusion… ..................................................................................... 42
References…...................................................................................... 42
DECLARATION

I, Mohammed Usman Gani Qureshi, Student of B.Tech (CSE) declare that the final year major project
“PHP Based Student Result Management System” which is submitted by us to Department of Computer
Science And Engineering, ARAVALI INSTITUTE OF TECHNICAL STUDIES, Umarda,Udaipur
affiliated to Rajasthan Technical University.

Mohammed Usman Gani Qureshi

B.Tech (CSE)
ACKNOWLEDGMENT

I express my heartfelt gratitude to all those who have contributed to the successful completion of my final year
major project based on PHP. Their support, encouragement, and expertise have been instrumental in shaping
this endeavor into a reality.

First and foremost, I extend my sincere appreciation to my project supervisor, [Supervisor's Name], for their
invaluable guidance, insightful feedback, and unwavering support throughout every phase of the project. Their
mentorship has been pivotal in steering the project in the right direction and ensuring its successful execution.

I am grateful to the faculty members of [Your Department] at Aravali Institute of Technical Studies (AITS),
Udaipur, for providing a conducive learning environment and imparting the knowledge and skills that laid the
foundation for this project.

I extend my thanks to my fellow classmates and colleagues who provided assistance, collaboration, and
constructive feedback during brainstorming sessions, development stages, and testing phases of the project.
Their camaraderie and teamwork have been invaluable in overcoming challenges and achieving milestones.

I would like to acknowledge the support and understanding extended by my family members throughout this
journey. Their encouragement and belief in my abilities have been a constant source of motivation and
inspiration.

Furthermore, I appreciate the resources and facilities provided by AITS, including access to the library,
laboratories, and online platforms, which enriched my learning experience and facilitated research and
development for the project.

In conclusion, I am immensely grateful to everyone who has contributed directly or indirectly to the completion
of this project. Their collective efforts have played a crucial role in its success, and I am truly thankful for their
support.

MOHAMMED USMAN GANI QURESHI

B.TECH (CSE)
ABSTRACT

The final year Project Titled "Web Based Student Result Management System using PHP" is
a comprehensive web application aimed at automating the result management process in
educational institutions. Developed by Mohammed Usman Gani Qureshi, this project
addresses the need for an efficient and user-friendly system to manage student results, grades,
and academic records.

The system is built using PHP as the primary server-side scripting language, coupled with
MySQL for database management. It offers a range of features including user authentication,
admin dashboard, student dashboard, result management, class management, and more. The
project also incorporates front-end technologies such as PHP, CSS, and JavaScript to ensure a
seamless and interactive user experience.

Led by Usman Qureshi, the team brings together diverse skills and expertise in back-end
development, front-end development, UI/UX design, and research and development. The
project is designed to meet the needs of educational institutions by providing a centralized
platform for result management, thereby streamlining administrative tasks and enhancing
efficiency.

Through this project, Team Mohammed Usman Gani Qureshi aims to showcase their
proficiency in web development and contribute to the advancement of educational technology.
The web-based result management system offers scalability, flexibility, and ease of use,
making it an ideal solution for educational institutions seeking to modernize their result
management processes.

MOHAMMED USMAN GANI QURESHI

B.TECH (CSE)
Introduction

Title: "Web Based Result Management System"

I, Usman Qureshi serves as the Back End Developer. With a strong background in
computer science and engineering, I brings leadership qualities and technical prowess
to the team. His proficiency in back-end development ensures the seamless functioning
and performance of the projects undertaken by Team Mohammed Usman Gani
Qureshi.

I would like to express our sincere gratitude to all those who have contributed to the
development and success of the PHP Result Management System. Their dedication,
expertise, and support have been invaluable throughout the journey, and I extend my
heartfelt thanks to each and every individual involved.

First and foremost, I would like to acknowledge the foundational technologies that
form the backbone of the system. PHP, with its robust scripting capabilities, has
provided the framework for dynamic content generation, allowing us to create
interactive and feature-rich web applications. Our gratitude also extends to MySQL,
which has served as the reliable database management system for storing, retrieving,
and managing the vast amount of data integral to the system's functionality.

The development of the user interface and presentation layer of the system has been
greatly facilitated by PHP, allowing us to structure and format content for optimal
display across various devices and browsers. Additionally, the Apache HTTP Server
has played a crucial role in serving web pages and handling HTTP requests, ensuring
seamless communication between clients and servers.

We would like to acknowledge the importance of HTTP server and proxy features in
ensuring the smooth operation and security of the system. These features have enabled
us to implement robust authentication mechanisms, session management, and data
encryption, safeguarding sensitive information and protecting against unauthorized
access.

Special recognition is due to the implementation of MD5 security for securing


passwords and sensitive data within the system. This cryptographic hash function has
provided an additional layer of protection against data breaches and unauthorized
tampering, enhancing the overall security posture of the application.

The various components and features of the system have been meticulously designed
and developed to meet the needs of administrators, faculty, and students alike. From
the comprehensive Home Page to the intuitive Login and Logout functionality, every
aspect of the system has been crafted with user experience and functionality in mind.

The Admin Dashboard serves as the central hub for administrators to manage classes,
students, and results, providing powerful tools for data management and analysis.
Similarly, the Student Dashboard offers students convenient access to their results and
enables them to download their academic records with ease.

We would like to extend our appreciation to the entire development team for their
tireless efforts in bringing this project to fruition. From writing SQL and PHP code to
designing project images and crafting a compelling conclusion, each team member has
played a vital role in shaping the success of the PHP Result Management System.

In conclusion, we are grateful for the opportunity to collaborate on this project and for
the support and guidance provided by our mentors, colleagues, and peers. The PHP
Result Management System stands as a testament to our collective dedication,
innovation, and commitment to excellence.
PHP ( Hypertext Pre-Processor )
PHP is a server-side scripting language designed for web development but also used as a
general-purpose programming language. Originally created by Rasmus Lerdorf in 1994,[3]
the PHP reference implementation is now produced by The PHP Group.[4] PHP originally
stood for Personal Home Page,[3] but it now stands for the recursive backronym PHP:
Hypertext Preprocessor.[5]

PHP code may be embedded into PHP code, or it can be used in combination with various
web template systems, web content management system and web frameworks. PHP code is
usually processed by a PHP interpreter implemented as a module in the web server or as a
Common Gateway Interface (CGI) executable. The web server combines the results of the
interpreted and executed PHP code, which may be any type of data, including images, with
the generated web page. PHP code may also be executed with a command-line interface
(CLI) and can be used to implement standalone graphical applications.[6]

The standard PHP interpreter, powered by the Zend Engine, is free software released under
the PHP License. PHP has been widely ported and can be deployed on most web servers on
almost every operating system and platform, free of charge.[7]

The PHP language evolved without a written formal specification or standard until 2014,
leaving the canonical PHP interpreter as a de facto standard. Since 2014 work has gone on to
create a formal PHP specification.
MySQL

MySQL (officially pronounced as /maɪ ˌɛskjuːˈɛl/ "My S-Q-L",[5]) is an open-source


relational database management system (RDBMS);[6] in July 2013, it was the world's
second most[a] widely used RDBMS, and the most widely used open-source client–server
model RDBMS.[9] It is named after Michael Widenius' (who is a co-founder of MySQL)
daughter, My,[10] while "SQL" stands as the abbreviation for Structured Query Language.
The MySQL development project has made its source code available under the terms of the
GNU General Public License, as well as under a variety of proprietary agreements. MySQL
was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB,
now owned by Oracle Corporation.[11] For proprietary use, several paid editions are
available, and offer additional functionality.

MySQL is a popular choice of database for use in web applications, and is a central
component of the widely used LAMP open-source web application software stack (and other
"AMP" stacks). LAMP is an acronym for "Linux, Apache, MySQL, Perl/PHP/Python". Free-
software open-source projects that require a full-featured database management system often
use MySQL. Applications that use the MySQL database include: TYPO3, MODx, Joomla,
WordPress, phpBB, MyBB, Drupal and other software. MySQL is also used in many high-
profile, large-scale websites, including Google[12][13] (though not for searches),
Facebook,[14][15][16] Twitter,[17] Flickr,[18] and YouTube.[19]

On all platforms except Windows, MySQL ships with no GUI tools to administer MySQL
databases or manage data contained within the databases. Users may use the included
command line tools,[20][21] or install MySQL Workbench via a separate download. Many
third party GUI tools are also available.
PHP (HyperText Markup Language )
HyperText Markup Language, commonly abbreviated as PHP, is the standard markup language used to
create web pages. Along with CSS, and JavaScript, PHP is a cornerstone technology used to create web
pages,[1] as well as to create user interfaces for mobile and web applications. Web browsers can read PHP
files and render them into visible or audible web pages. PHP describes the structure of a website
semantically and, before the advent of Cascading Style Sheets (CSS), included cues for the presentation or
appearance of the document (web page), making it a markup language, rather than a programming language.

PHP elements form the building blocks of PHP pages. PHP allows images and other objects to be embedded
and it can be used to create interactive forms. It provides a means to create structured documents by
denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. PHP
elements are delineated by tags, written using angle brackets. Tags such as <img /> and <input /> introduce
content into the page directly. Others such as <p>...</p> surround and provide information about document
text and may include other tags as sub-elements. Browsers do not display the PHP tags, but use them to
interpret the content of the page.

PHP can embed scripts written in languages such as JavaScript which affect the behavior of PHP web pages.
PHP markup can also refer the browser to Cascading Style Sheets (CSS) to define the look and layout of text
and other material. The World Wide Web Consortium (W3C), maintainer of both the PHP and the CSS
standards, has encouraged the use of CSS over explicit presentational PHP since 1997.

Apache HTTP Server


The Apache HTTP Server, colloquially called Apache (/əˈpætʃiː/ ə-PA-chee), is the world's most used web
server software. Originally based on the NCSA HTTPd server, development of Apache began in early 1995
after work on the NCSA code stalled. Apache played a key role in the initial growth of the World Wide
Web,[4] quickly overtaking NCSA HTTPd as the dominant HTTP server, and has remained most popular
since April 1996. In 2009, it became the first web server software to serve more than 100 million
websites.[5]

Apache is developed and maintained by an open community of developers under the auspices of the Apache
Software Foundation. Most commonly used on a Unix-like system (usually Linux),[6] the software is
available for a wide variety of operating systems besides Unix, including eComStation, Microsoft Windows,
NetWare, OpenVMS, OS/2, and TPF. Released under the Apache License, Apache is free and open-source
software.

As of November 2015, Apache was estimated to serve 50% of all active websites and 37% of the top servers
across all domains.
HTTP Server & Proxy Features
 Loadable Dynamic Modules
 Multiple Request Processing modes (MPMs) including Event-based/Async, Threaded and Prefork.
 Highly scalable (easily handles more than 10,000 simultaneous connections)
 Handling of static files, index files, auto-indexing and content negotiation
 .htaccess support[12]
 Reverse proxy with caching[13]
o Load balancing[14] with in-band health checks
o Multiple load balancing mechanisms
o Fault tolerance and Failover with automatic recovery
o WebSocket, FastCGI, SCGI, AJP and uWSGI support with caching
o Dynamic configuration[15]
 TLS/SSL with SNI and OCSP stapling support, via OpenSSL.
 Name- and IP address-based virtual servers
 IPv6-compatible
 HTTP/2 protocol support
 Fine-grained authentication and authorization access control[16]
 gzip compression and decompression
 URL rewriting[17]
 Headers[18] and content[19][20] rewriting
 Custom logging with rotation
 Concurrent connection limiting
 Request processing rate limiting
 Bandwidth throttling
 Server Side Includes[21]
 IP address-based geolocation
 User and Session tracking[22]
 WebDAV
 Embedded Perl, PHP and Lua scripting
 CGI support[23]
 public_PHP per-user web-pages[24]
 Generic expression parser[25]
 Real-time status views[26]

XML support[27]
MD5 Security
The MD5 message-digest algorithm is a widely used cryptographic hash function producing a 128-bit (16-
byte) hash value, typically expressed in text format as a 32-digit hexadecimal number. MD5 has been
utilized in a wide variety of cryptographic applications and is also commonly used to verify data integrity.

MD5 is a one-way function; it is neither encryption nor encoding. It cannot be reversed other than by brute-
force attack.

MD5 was designed by Ronald Rivest in 1991 to replace an earlier hash function MD4.[3] The source code
in RFC 1321 contains a "by attribution" RSA license.

The security of the MD5 has been severely compromised, with its weaknesses having been exploited in the
field, most infamously by the Flame malware in 2012. The CMU Software Engineering Institute considers
MD5 essentially "cryptographically broken and unsuitable for further use".
1. Home Page:
- Create an PHP page (`index.php`) for the home page.
- Use CSS (`styles.css`) for styling.
- Optionally, you can use JavaScript for any interactive elements or animations.

2. Dynamic Content for Contact Us:


- Create an PHP page (`contact.php`) for the contact page.
- Use PHP to fetch dynamic content from the database and display it on the page.
- Use MySQL to store contact information.

3. Admin Login:
- Create an PHP form (`admin_login.php`) for admin login.
- Use PHP to validate admin credentials against the database.
- Use sessions to manage admin login state.

4. Admin Dashboard:
- Create an PHP page (`admin_dashboard.php`) for the admin dashboard.
- Use PHP to restrict access to the dashboard based on admin login status.
- Implement navigation links to different admin pages.

5. Admin View & Edit Details:


- Create an PHP page (`admin_details.php`) to display and edit admin details.
- Use PHP to fetch admin details from the database and allow editing.
- Use MySQL to store admin details.

6. Admin View & Edit My Profile:


- Similar to admin details, create an PHP page (`admin_profile.php`) for viewing and editing admin profile.
- Implement PHP functionality to handle profile updates.
7. Admin Add Classes:
- Create an PHP form (`add_class.php`) for adding classes.
- Use PHP to handle form submission and insert data into the database.

8. Admin Manage Classes:


- Create an PHP page (`manage_classes.php`) to display a list of classes.
- Use PHP to fetch class data from the database and display it in a table.
- Implement functionalities to edit or delete classes.

9. Admin Add Students:


- Create an PHP form (`add_student.php`) for adding students.
- Use PHP to handle form submission and insert student data into the database.

10. Admin Manage Students:


- Create an PHP page (`manage_students.php`) to display a list of students.
- Use PHP to fetch student data from the database and display it in a table.
- Implement functionalities to edit or delete student records.

11. Admin Add Notices:


- Create an PHP form (`add_notice.php`) for adding notices.
- Use PHP to handle form submission and insert notice data into the database.

12. Admin Manage Notices:


- Create an PHP page (`manage_notices.php`) to display a list of notices.
- Use PHP to fetch notice data from the database and display it in a table.
- Implement functionalities to edit or delete notices.
13. Admin Add Public Notices:
- Similar to adding notices, create an PHP form (`add_public_notice.php`) for adding public notices.
- Use PHP to handle form submission and insert data into the database.

14. Admin Manage Public Notices:


- Similar to managing notices, create an PHP page (`manage_public_notices.php`) to display and manage public
notices.

15. Admin Add Results:


- Create an PHP form (`add_result.php`) for adding student results.
- Use PHP to handle form submission and insert result data into the database.

16. Admin Manage Results:


- Create an PHP page (`manage_results.php`) to display and manage student results.

17. Admin Annual Reports by Specific Range:


- Create an PHP form (`annual_reports.php`) to input a specific date range.
- Use PHP to fetch relevant data from the database within the specified range.

18. Admin Search Student Data:


- Create an PHP form (`search_student.php`) for searching student data.
- Use PHP to handle form submission and search for student data in the database.
19. Student Login:
- Create an PHP form (`student_login.php`) for student login.
- Use PHP to validate student credentials against the database.
- Use sessions to manage student login state.

20. Student Dashboard:


- Create an PHP page (`student_dashboard.php`) for the student dashboard.
- Use PHP to restrict access to the dashboard based on student login status.
- Implement navigation links to different student pages.

21. Student View & Edit My Profile:


- Create an PHP page (`student_profile.php`) for viewing and editing student profile.
- Implement PHP functionality to handle profile updates.

22. Student View Result:


- Create an PHP page (`view_result.php`) to display student results.
- Use PHP to fetch student result data from the database and display it

23. Student View Result:


- Create an PHP page (`download_result.php`) to Download student results.
- Use PHP to fetch student result data from the database and display .
- Use JavaScript to download result data from the screen.
SQL CODE :
-- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 02, 2022 at 08:41 PM
-- Server version: 10.3.15-MariaDB
-- PHP Version: 7.2.19

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";


SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;


/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `sturecdb`
--

-- --------------------------------------------------------

--
-- Table structure for table `tbladmin`
--

CREATE TABLE `tbladmin` (


`ID` int(10) NOT NULL,
`AdminName` varchar(120) DEFAULT NULL,
`UserName` varchar(120) DEFAULT NULL,
`MobileNumber` bigint(10) DEFAULT NULL,
`Email` varchar(200) DEFAULT NULL,
`Password` varchar(200) DEFAULT NULL,
`AdminRegdate` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbladmin`
--

INSERT INTO `tbladmin` (`ID`, `AdminName`, `UserName`, `MobileNumber`, `Email`, `Password`,


`AdminRegdate`) VALUES
(1, 'Admin', 'admin', 8979555558, 'admin@gmail.com', 'f925916e2754e5e03f75dd58a5733251', '2019-10-11
04:36:52');

-- --------------------------------------------------------

--
-- Table structure for table `tblclass`
--

CREATE TABLE `tblclass` (


`ID` int(5) NOT NULL,
`ClassName` varchar(50) DEFAULT NULL,
`Section` varchar(20) DEFAULT NULL,
`CreationDate` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tblclass`
--

INSERT INTO `tblclass` (`ID`, `ClassName`, `Section`, `CreationDate`) VALUES


(1, '10', 'A', '2022-01-13 10:42:14'),
(2, '10', 'B', '2022-01-13 10:42:35'),
(3, '10', 'C', '2022-01-13 10:42:41'),
(4, '11', 'A', '2022-01-13 10:42:47'),
(5, '11', 'B', '2022-01-13 10:42:52'),
(6, '11', 'C', '2022-01-13 10:42:57'),
(7, '11', 'D', '2022-01-13 10:43:04'),
(8, '12', 'A', '2022-01-13 10:43:10'),
(9, '12', 'C', '2022-01-13 10:43:15');

-- --------------------------------------------------------

--
-- Table structure for table `tblnotice`
--

CREATE TABLE `tblnotice` (


`ID` int(5) NOT NULL,
`NoticeTitle` mediumtext DEFAULT NULL,
`ClassId` int(10) DEFAULT NULL,
`NoticeMsg` mediumtext DEFAULT NULL,
`CreationDate` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tblnotice`
--

INSERT INTO `tblnotice` (`ID`, `NoticeTitle`, `ClassId`, `NoticeMsg`, `CreationDate`) VALUES


(2, 'Marks of Unit Test.', 3, 'Meet your class teacher for seeing copies of unit test', '2022-01-19 06:35:58'),
(3, 'Marks of Unit Test.', 2, 'Meet your class teacher for seeing copies of unit test', '2022-01-19 06:35:58'),
(4, 'Test', 3, 'This is for testing.', '2022-02-02 18:17:03'),
(5, 'Test Notice', 8, 'This is for Testing.', '2022-02-02 19:03:43');

-- --------------------------------------------------------

--
-- Table structure for table `tblpage`
--

CREATE TABLE `tblpage` (


`ID` int(10) NOT NULL,
`PageType` varchar(200) DEFAULT NULL,
`PageTitle` mediumtext DEFAULT NULL,
`PageDescription` mediumtext DEFAULT NULL,
`Email` varchar(200) DEFAULT NULL,
`MobileNumber` bigint(10) DEFAULT NULL,
`UpdationDate` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tblpage`
--

INSERT INTO `tblpage` (`ID`, `PageType`, `PageTitle`, `PageDescription`, `Email`, `MobileNumber`,


`UpdationDate`) VALUES
(1, 'aboutus', 'About Us', '<div style=\"text-align: start;\"><font color=\"#7b8898\" face=\"Mercury SSm A, Mercury
SSm B, Georgia, Times, Times New Roman, Microsoft YaHei New, Microsoft Yahei, ????, ??, SimSun, STXihei,
????, serif\"><span style=\"font-size: 26px;\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit
anim id est laborum.</span></font><br></div>', NULL, NULL, NULL),
(2, 'contactus', 'Contact Us', '890,Sector 62, Gyan Sarovar, GAIL Noida(Delhi/NCR)', 'infodata@gmail.com',
7896541236, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tblpublicnotice`
--

CREATE TABLE `tblpublicnotice` (


`ID` int(5) NOT NULL,
`NoticeTitle` varchar(200) DEFAULT NULL,
`NoticeMessage` mediumtext DEFAULT NULL,
`CreationDate` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tblpublicnotice`
--

INSERT INTO `tblpublicnotice` (`ID`, `NoticeTitle`, `NoticeMessage`, `CreationDate`) VALUES


(1, 'School will re-open', 'Consult your class teacher.', '2022-01-20 09:11:57'),
(2, 'Test Public Notice', 'This is for Testing\r\n', '2022-02-02 19:04:10');

-- --------------------------------------------------------

-- --------------------------------------------------------
-- --------------------------------------------------------
-- --------------------------------------------------------

--
-- Table structure for table `tblstudent`
--

CREATE TABLE `tblstudent` (


`ID` int(10) NOT NULL,
`StudentName` varchar(200) DEFAULT NULL,
`StudentEmail` varchar(200) DEFAULT NULL,
`StudentClass` varchar(100) DEFAULT NULL,
`Gender` varchar(50) DEFAULT NULL,
`DOB` date DEFAULT NULL,
`StuID` varchar(200) DEFAULT NULL,
`FatherName` mediumtext DEFAULT NULL,
`MotherName` mediumtext DEFAULT NULL,
`ContactNumber` bigint(10) DEFAULT NULL,
`AltenateNumber` bigint(10) DEFAULT NULL,
`Address` mediumtext DEFAULT NULL,
`UserName` varchar(200) DEFAULT NULL,
`Password` varchar(200) DEFAULT NULL,
`Image` varchar(200) DEFAULT NULL,
`DateofAdmission` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tblstudent`
--

INSERT INTO `tblstudent` (`ID`, `StudentName`, `StudentEmail`, `StudentClass`, `Gender`, `DOB`, `StuID`,
`FatherName`, `MotherName`, `ContactNumber`, `AltenateNumber`, `Address`, `UserName`, `Password`, `Image`,
`DateofAdmission`) VALUES
(1, 'jghj', 'jhghjg@gmail.com', '4', 'Male', '2022-01-13', 'ui-99', 'bbmnb', 'mnbmb', 5465454645, 4646546565, 'J-908,
Hariram Nagra New Delhi', 'kjhkjh', '202cb962ac59075b964b07152d234b70',
'ebcd036a0db50db993ae98ce380f64191642082944.png', '2022-01-13 14:09:04'),
(2, 'Kishore Sharma', 'kishore@gmail.com', '3', 'Male', '2019-01-05', '10A12345', 'Janak Sharma', 'Indra Devi',
7879879879, 7987979879, 'kjhkhjkhdkshfiludzshfiu\r\nfjedh\r\nk;jk', 'kishore2019',
'202cb962ac59075b964b07152d234b70', '5bede9f47102611b4df6241c718af7fc1642314213.jpg', '2022-01-16
06:23:33'),
(3, 'Anshul', 'anshul@gmali.com', '2', 'Female', '1986-01-05', 'uii-990', 'Kailesg', 'jakinnm', 4646546546, 6546598798,
'jlkjkljoiujiouoil', 'anshul1986', '202cb962ac59075b964b07152d234b70',
'4f0691cfe48c8f74fe413c7b92391ff41642605892.jpg', '2022-01-19 15:24:52'),
(4, 'John Doe', 'john@gmail.com', '1', 'Female', '2002-02-10', '10806121', 'Anuj Kumar', 'Garima Singh', 1234698741,
1234567890, 'New Delhi', 'john12', 'f925916e2754e5e03f75dd58a5733251',
'ebcd036a0db50db993ae98ce380f64191643825985.png', '2022-02-02 18:19:45'),
(5, 'Anuj kumar Singh', 'akkr@gmail.com', '8', 'Male', '2001-05-30', '1080623', 'Bijendra Singh', 'Kamlesh Devi',
1472589630, 1236987450, 'New Delhi', 'anujk3', 'f925916e2754e5e03f75dd58a5733251',
'2f413c4becfa2db4bc4fc2ccead84f651643828242.png', '2022-02-02 18:57:22');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `tbladmin`
--
ALTER TABLE `tbladmin`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `tblclass`
--
ALTER TABLE `tblclass`
ADD PRIMARY KEY (`ID`);

--
-- Indexes for table `tblnotice`
--
ALTER TABLE `tblnotice`
ADD PRIMARY KEY (`ID`);

--
-- Indexes for table `tblpage`
--
ALTER TABLE `tblpage`
ADD PRIMARY KEY (`ID`);

--
-- Indexes for table `tblpublicnotice`
--
ALTER TABLE `tblpublicnotice`
ADD PRIMARY KEY (`ID`);

--
-- Indexes for table `tblstudent`
--
ALTER TABLE `tblstudent`
ADD PRIMARY KEY (`ID`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `tbladmin`
--
ALTER TABLE `tbladmin`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tblclass`
--
ALTER TABLE `tblclass`
MODIFY `ID` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `tblnotice`
--
ALTER TABLE `tblnotice`
MODIFY `ID` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `tblpage`
--
ALTER TABLE `tblpage`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tblpublicnotice`
--
ALTER TABLE `tblpublicnotice`
MODIFY `ID` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tblstudent`
--
ALTER TABLE `tblstudent`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

This SQL code represents a database schema along with some sample data. Let's break it down step by step:

This SQL dump file contains the structure and data for several tables within a database named `sturecdb`. Here's an
explanation of the SQL code:
1. Database Information:
- Name: `sturecdb`
- Character set: `utf8mb4`
- Collation: Not explicitly specified, likely defaults to the server's collation settings.

2. Table Definitions:
- `tbladmin`: Stores information about administrators.
- `tblclass`: Contains details about different classes.
- `tblnotice`: Stores notices associated with specific classes.
- `tblpage`: Contains pages such as 'About Us' and 'Contact Us'.
- `tblpublicnotice`: Stores public notices.
- `tblstudent`: Contains information about students.

3. Table Structure:
- Each table has various fields/columns with different data types, including integers, varchars, timestamps, dates,
mediumtext, and bigint.
- Primary keys are defined for each table.
- Some fields have default values, such as `current_timestamp()` for timestamp columns.

4. Data Insertions:
- Data is inserted into `tbladmin`, `tblclass`, `tblnotice`, `tblpage`, `tblpublicnotice`, and `tblstudent` tables after their
structures are defined.
- Each `INSERT INTO` statement adds rows of data into the respective tables.

5. Indexes:
- Indexes are created for the primary keys of each table to optimize data retrieval.

6. Auto-increment:
- Auto-increment is set up for the primary key columns that serve as IDs in each table.

7. Comments:
- The SQL dump contains comments providing information about the SQL dump version, server details, and
generation time.
PROJECT IMAGES TO SHOWCASE
TIMELINES OF THE PROJECT

HOME PAGE
Dynamic About Us
Dynamic Contact Us
Admin Login

Admin Dashboard
Admin View & Edit My Profile

Admin Add Classes


Admin Manage Classes

Admin Add Students


Admin Manage Students

Admin Add Results


Admin Manage Results

Admin Add Notices

Admin Manage Notices


Admin Add Public Notices

Admin Manage Public Notices


Dynamic Contact Us
Admin Annual Reports By Specific Range

Admin Search Student Data


Student Login

Student Dashboard
Student View & Edit My Profile

Student View Result


Student Download Result
Conclusion:
In conclusion, the development of a Result Management System using PHP marks a significant milestone in
enhancing the efficiency and effectiveness of managing academic results. Throughout this project, we have explored
the robust capabilities of PHP as a server-side scripting language, leveraging its simplicity, flexibility, and wide array
of functionalities.

The Result Management System offers a comprehensive solution for educational institutions to streamline the process
of result generation, storage, and dissemination. By employing PHP, we have been able to create a dynamic and user-
friendly platform that caters to the diverse needs of administrators, teachers, and students.

Key features such as user authentication, result calculation, and report generation have been meticulously
implemented to ensure accuracy, security, and accessibility. Moreover, the system incorporates modern web
development practices, including responsive design and database integration, to deliver a seamless user experience
across devices.

Moving forward, there is immense potential for further enhancements and customization of the Result Management
System. Integration with additional modules such as student enrolment, course management, and analytics can further
enrich its functionality and utility. Additionally, ongoing maintenance and updates will be essential to ensure
compatibility with evolving technologies and user requirements.

Overall, the Result Management System represents a testament to the power of PHP in addressing real-world
challenges and driving innovation in the education sector. By harnessing the capabilities of PHP, we have laid the
foundation for a robust and scalable solution that can adapt to the changing needs of educational institutions,
ultimately contributing to improved efficiency, transparency, and accountability in managing academic results.

References:

1. www.google.com
2. www.ChatGPT.com
3. www.Geeksforgeeks,com
4. www.youtube.com
5. www.scribd.com
6. www.wikipedia.org

You might also like