IJCRT21X0023

Download as pdf or txt
Download as pdf or txt
You are on page 1of 49

www.ijcrt.

org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

STUDENT MARKS ANALYSIS AND


REPORTING SYSTEM
1
Ms.M.HARINI, 2Dr.V.KAVITHA
1
final MCA Student, 2 Assistant Professor
1
Bharathiar University,
2
Bharathiar University

CHAPTER-1
INTRODUCTION

1.1. PROJECT OVERVIEW


This project is entitled as “Student Marks Analysis And Reporting System”. The
main aim of this system is to develop the web application software to process the
student’s marks and analyse the results. We are able to see the individual candidate’s
results separately. Student result analysis system has been designed to carry out the mark
analysis process in an educational institution. The results of respective departments can be
efficiently computed without much of manual involvement. Given the continuous rise in
student population, tertiary institutions calculate examination result of students with the
help of computer programs. Analysis of students information and their academic record is
as important as examination result computation.This application helps to the department
staffs and also students to know the student’s academic performance in the
examinations. This project is to be developed using PHP for Front end and MySQL for Back
end.

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b671


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

1.2 MAIN MODULES OF THE SYSTEM

Control Section Module


Exam Control Section Administrator of this application will login into this system
using user name and password. After completion of successful login, admin will update
and process the internal marks based activities.

Subject Module
Academic subjects details are maintained in this module with subject code, name,
department, course and year with type of subject (theory / lab/project). Subject profile is
maintained and updated by the administrator.

Student Module
This module is used to maintain the student profile with Register number, student
name, course, year, and other relevant information with default password. Its also
maintained by the administrator. Register number and default password used by the
students to enter into this application to view their internal marks.

Internal and External Marks Module

This module is used to maintain and update the student’s internal and external marks
for each subject. These details are entered and maintain by the administrator. These details
are updated in the end semester results for each student.

Student Result View

This module is used to view the results by the students. It requires login
authentication process for the students. It allows to view / print /download the marks.

Performance Analysis Module


This module allows the admin to analyse the academic performance of the students
with passed and failed students in the subjects.

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b672


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

CHAPTER-2

SYSTEM ANALYSES

2.1 EXISTING SYSTEM


The existing system of this project is not a fully computerized system. Result
analysis performed in manual system. Student profile, subject profile, test marks,
assignment marks and model exam marks are only maintained computerised system. So
the desire for the development of the proposed system had become essential.

Drawbacks of the existing system


 Less information update about the student’s internal mark based
activities in the department
 Required information cannot be retrieved easily.
 Not easy to know the status of the student regarding internal marks
 More human time required to process

2.2 PROPOSED SYSTEM

The proposed system is to computerize for maintaining security of the mark based
mobile operations. The aim of the proposed system is the overcome the difficulties of the
existing system. The proposed application system helps to maintain the student details,
subject details and marks in effective manner. And analyse the marks in control section
and staffs requirement criteria.

Advantages of the proposed system


 The required information can be retrieved easily.
 User friendly (as faculties can easily use web based application ).
 Easy to know the marks of the particular student
 Allows to take reports regarding marks based on student and subjects
 Permits to summarize the marks based on the class / subject/student.

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b673


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

CHAPTER-3

SYSTEM SPECIFICATION

3.1 HARDWARE SPECIFICATION

The following hardware specification is used to develop this project


Processor : I3 5th Generation
RAM : 4 GB
Hard Disk : 500 GB
Monitor : 17” LCD
Keyboard : 108 Keys Standard Keyboard
Mouse : Two buttons Scroll Optical Mouse
Mobile : Smart phone with Jellybean OS and above

3.2 SOFTWARE SPECIFICATION

The following software specification is used to develop this project


Operating System : Windows 7
Front End : PHP 5.0
Back End : MySQL 5.1
Web Server : Apache Tomcat
Other Tools : XAMPP

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b674


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

Overview of PHP:

PHP (abbreviation PHP Hypertext Preprocessor), is a server-side embedded


scripting language. This means that it works within an HTML document to confer to it the
capacity of generating content of demand. You can convert your site into web applications,
not just a collection of static pages with information that may not get updated quite so
often, which may be alright for a “personal” web site.

PHP is the widely-used, free and efficient alternative to competitors such as


Microsoft’s ASP. PHP is perfectly suited for Web development and can be embedded
directly into the HTML code. The PHP syntax is very similar to Perl and C. PHP is often
used together with Apache (web server) on various operating systems. It also supports
ISAPI and can be used with Microsoft’s IIS on Windows. A PHP file may contain text,
HTML tags and scripts. Scripts in a PHP file are executed on the server. Of course general
scripting or programming languages like Perl, Python, etc. have also platform
independence, and are open source.PHP was designed to work on the web, and querying a
database is a simple task that can be handled in 2 or 3 lines of code. The PHP scripting
engine is well optimized for the response times needed on web applications it can even be
part of the web server itself improving the throughput even more.

The PHP language features the usual complement of control structures, operators,
variable types, functions declarations and class/object declarations that we have been
accustomed to expect from any compiled or interpreted language, and yet it also has
features of its own. For example, in C you employ pointers.

In other scripting languages. This can be cumbersome or even not possible, but in
PHP this is just one use of variables. PHP comes with a myriad of options, both to build
the distribution and also to configure an installation. PHP supports several APIs and
interfaces to other programming tools. The sheer number of tools is daunting, not to speak
of the configuration possibilities for each of these.

Before we get involved in the detail of installing PHP, it would be worthwhile to


consider what we would expect to do with PHP in the near future. Depending on this we
need to include only those particular modules that are germane to this kind of stuff we plan
to do with the installation.

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b675


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

a) Platforms and Web Servers

PHP is supported on quite a few platforms, many of them UNIX-like and of course
on Microsoft’s operating systems supporting the Win32 environment. Since PHP cannot
do much without a web server, when we talk of installing PHP on a platform, we also need
to take into consideration the web server that we plan to use.

ii) MYSQL

MYSQL is an open-source relational database management systems (RDBMS), is


developed, distributed and supported by MYSQL AB. MYSQL is a popular choice of
database for use in web applications MYSQL can be scaled by deploying it on more
powerful hardware, such as a multi-processor server with gigabytes of memory. MYSQL
is easy to use, yet extremely powerful, secure, and scalable. And because of its small size
and speed, it is the ideal database solution for Web sites. MYSQL is a full-featured
relational database management system. It is very stable and has proven itself over time.
MYSQL has been in production for over 10 years. MYSQL is a multithreaded server.
Multithreaded means that every time someone establishes a connection with the server, the
server program creates a thread or process to handle that client’s requests. This makes for
an extremely fast server. In effect, every client who connects to a MYSQL server gets his
or her own thread.Yet another feature of MYSQL is its probability it has been ported to
almost every platform. This means that you don’t have to change your main platform to
take advantage of MYSQL. And if you do want to switch, there is probably a MYSQL port
for your new platform.

MYSQL also has many different application programming interfaces(APIs). They


include APIs for Perl, TCL, Python, C/C++, Java (JDBC), and ODBC. So no matter what
your company’s expertise is, MYSQL has a way for your access it.MYSQL is also very
cheap. For an unlicensed, full version of MYSQL, the cost is nothing. To license your copy
will currently cost you $200. This is an incredible deal, considering what you are getting
for you money.Database systems that provide half the features that MYSQL has can cost
tens of thousands of dollars. MYSQL can do what they do better and for less. MYSQL is
a relational database. It uses tables and column to hold data that can be related by keys. It

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b676


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

is well suited for this role. It is also very well suited for various architectures. It can be used
in a strictly client/server architecture or as a standalone database.

a) The MYSQL Supported Types

MYSQL has various data types that support different functions. A data type is the
type of a data a column will store. There can be many different data types inside a table,
but each column will store its own specific type of information. You can think of a data
type as a kind of definition for a column.A column defined as an integer column will only
hold numeric information, whereas a column defined as a CHAR (10) will hold up to 10
alphanumeric characters. These definitions are the key to a quick and efficient database.
These are basically three groups of data formats. The first is obviously numeric. Numeric
data is data that is a positive or negative number such as 4 or-50.Numeric data can also be
in hexadecimal format (2ee250cc), scientific notation (2X10^23), or a decimal. The second
type is character or string format. This format can consist of letters and numbers, whole
words, addresses, phone numbers and generally anything you have to put quotations
around.It consists of everything that doesn’t quite fit into either of the other two categories.
Some, like dates and times, could be alphanumeric but are stored like numbers. As well as
data types, MYSQL also provides column modifiers. These modifiers further help define
a column’s attributes.

They are AUTO_INCREMENT, UNSIGNED, PRIMARY KEY, NULL, NOT


NULL and BINARY. A more detailed discussion of column modifiers takes place
following the coverage of the basic data types.MYSQL runs on many platforms, and
binaries are available for most of them. Binaries are the result of compiling the source code.
This is by far the easiest way of acquiring MYSQL. The alternatives is downloading the
source code for you platform and compiling it.MYSQL has many utilities to import as well
as export data. It shares some of the common options, but this utility does a little more. It
takes the entire database and dumps it into single text file.This file contains all the SQL
commands needed to recreate your database. It takes the schema and converts it to the
proper DDL syntax (CREATE statements), and it takes all the data and creates INSERT
statements out of them. This utility reverse engineers your database.

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b677


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

b) Hyper Text Markup Language (HTML)

HTML stands for Hyper Text Markup Language. Hypertext is ordinary text that has
been dressed up with extra features, such as formatting, images, multimedia, and links to
other documents. Mark up is the process of taking ordinary text and adding extra symbols.
Language is actually a key point to remember about HTML.

HTML is a universal language for classifying the function of different sections of a


document. It is neither a page-layout language nor a printing language. This allows
documents to be displayed on many different kinds of platforms. HTML is flexible to work
on the website with their variety of commands.

CHAPTER-4

SYSTEM DESIGN

4.1 DATA FLOW DIAGARAM

LEVEL 0

Student , Subject and


Mark details Result Analysis
RESULT
ANALYSIS
STUDENT AND MARKS SYSTEM ACADEMIC
PERFORMANCE

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b678


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

LEVEL 1 DATA FLOW DIAGRAM

Login
ADMIN/STAFF DeptLogin
Checking

Verified User

Student &
Subject Profile
Update

Student details Academic Subjects

StudentProfile SubjectProfile

Attended Subjects

Marks
Update
Attended students

Exam Marks

Marks

Result
Analysis SemMarks

Sem Results

Academic Results

SubjectAnalysis

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b679


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

4.2 ER DIAGRAM

Department
SubjectName
StaffID Password
Subjectcode Semester

DEPTLOGIN Update SUBJECTPROFILE

M
1
1

Course

StudentName Year

Registerno Department

STUDENTPROFILE Exam

Sem
Registerno
CGPA
M
M
SEMESTER MARKS Find MARKS

M
Registerno
Subjectcode
M
TestMarks
SUBJECTANALYSIS Assignment

AverageMark
Subjectcode
LowMark
HighMark

4.3 INPUT DESIGN

Input design is the process of converting the user-oriented description of the


computer based business information into program-oriented specification. The goal of
designing input data is to make the automation as easy and free from errors as possible. A
IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b680
www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

larger number of problems with a system can usually be traced back to fault input design
and method Needless to say ,therefore that the input data is the life block of a system and
has to be analyzed and designed with the most consideration.

Admin and Student Login Pages


These pages are used to perform the login authentication process by the
administrator and students. After completion of successful login, administrator’s main
activity form is loaded for administrator and for students. result query activity form is
displayed.

Subject Page
This form is used to maintain and update the subject details with subject code,
subject name, department, semester and academic year details.

Student Page
This activity is used to maintain and update the academic student details with
register number, student name, course, year and other relevant details.

Marks Page

This activity is used to enter and process the model, premodel and end semester
marks for the student in the subjects.

4.4 DATABASE DESIGN

Table Name : DeptLogin


Primary Key : StaffID
Field name Data type Width Description
StaffID Varchar 10 Staff ID
Password Varchar 10 Staff Password
StaffName Varchar 30 Staff Name
Designation Varchar 20 Designation
Department Varchar 20 Department

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b681


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

Table Name : StudentProfile


Primary Key : RegisterNo
Field name Data type Width Description
RegisterNo Varchar 8 Register Number
Name Varchar 20 Student Name
Gender Varchar 1 Gender
Course Varchar 20 Course Name
Department Varchar 20 Department Name
Year Varchar 4 Year
ParName Varchar 20 Parent Name
Par_Mobileno Numeric 10 Mobile Number
StuPassword Varchar 10 Password

Table Name : SubjectProfile


Primary key : Subject_code
Field name Data type Width Description
Subject_Code Varchar 10 Subject Code
Subject_name Varchar 20 Subject Name
Semester Numeric 1 Semester
Department Varchar 20 Department Name
SubjectType Varchar 5 Subject type
AcademicYear Varchar 10 Academic Year

Table Name : Marks


Reference key : RegisterNo, Subject_Code
Field name Data type Width Description
RegisterNo Varchar 8 Register Number
Semester Numeric 1 Semester
Subject_Code Varchar 10 Subject Code
Internal_mark Numeric 2 Internal Mark
External_mark Numeric 2 External Marks
Total_Mark Numeric 3 Total Marks

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b682


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

Table Name : SemMarks


Reference key : RegisterNo
Field name Data type Widt Description
h
RegisterNo Varchar 8 Register Number
Semester Numeric 1 Semester
Percentage Float 5,2 Percentage of Marks
CGPA Float 4,2 CGPA

Table Name : SubjectAnalysis


Reference key : Subject_Code
Field name Data type Widt Description
h
Subject_Code Varchar 10 Subject Code
AcademicYear Varchar 10 Academic Year
NoooStudents Numeric 2 Number of students attended
PassedStudents Numeric 2 Number of passed students
FailedStudents Numeric 2 Number of failures

4.5 OUTPUT DESIGN

The objectives of the output design define the contents and format of all documents
and reports in an attractive and useful format. For many end-users, output is the main
reason for developing the system and the basis on which they evaluate the usefulness of
application. Output design aims at communicating the results of the processing of the users.
As its web application output is designed in a very user-friendly this will be through screen
most of the time.

Marks page View

This page is used to show the model, premodel and end semester marks for the
student in the subjects with print and download to excel sheet options.

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b683


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

Result page View

This page is used to show the semester results and internal marks to the students with
print and download to excel sheet options.

Semester Marks View

This page is used to show the all students end semester marks with print and
download to excel sheet options.

Subject analysis view

This page is used to show the highest, lowest and average marks with number of
students passed and failed details with print and download to excel sheet options.

CHAPTER-5
SYSTEM TESTING AND IMPLEMENATION

5.1. SYSTEM TESTING

System testing is critical aspect of software quality assurance and represents the
ultimate review of specification, design and coding. Testing is a process of executing a
program with the intent of finding an error. A good testing case is that has the probability
of finding as yet undiscovered error. The purpose of the system testing is to identify and
correct bugs in the developed system. Nothing is complete without testing. Testing is vital
to the success of the system.

Testing is performed to identify errors. It is used for quality assurance. Testing is an


integral part of the entire development and maintenance process. The goal of the testing
during phase is to verify that the specification has been accurately and completely
incorporated into the design, as well as to ensure the correctness of the design itself. For
example the design must not have any logic faults in the design is detected before coding
commences, otherwise the cost of fixing the faults will be considerably higher as reflected.
Detection of design faults can be achieved by means of inspection as well as walkthrough.

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b684


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

Unit Testing

Unit testing is testing changes made in a existing or new program this test is carried
out during the programming and each module is found to be working satisfactorily. Unit
testing comprises the set of tests performed by an individual prior to integration of the unit
into large system. The situation is illustrated in as follows:

Integration Testing

Integration testing is a systematic technique for constructing the program structure


while at the same time conducting test to uncover errors associated with interfacing. The
objective is to take unit - tested modules and build a program structure that has been
dictated by design. Careful test planning is required to determine the extent and nature of
system testing to be performed and to establish criteria by which the result will be
evaluated.

All the modules were integrated after the completion of unit test. While Top - Down
Integration was followed, the modules are integrated by moving downward through the
control hierarchy, beginning with the main module. Since the modules were unit - tested
for no errors, the integration of those modules was found perfect and working fine. As a
next step to integration, other modules were integrated with the former modules.

After the successful integration of the modules, the system was found to be running
with no uncovered errors, and also all the modules were working as per the design of the
system, without any deviation from the features of the proposed system design. In this
project, all activities are integrated with the main activity and with its Buttons. Activity
links and flow of data between the processes are tested and verified.

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b685


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

Validation Testing

Validation testing provides the final assurance that software meets all functional,
behavioral and performance requirements. Validation testing can be defined in many ways,
but a simple definition is that validations succeed when the software functions in a manner
that is expected by the user. The software once validated must be combined with other
system element. System testing verifies that all elements combine properly and that overall
system function and performance is achieved. After the integration of the modules, the
validation test was carried out over by the system. It was found that all the modules work
well together and meet the overall system function and performance. In this project,
numeric fields like as maximum participants are validated and other non-numeric fields are
also validated.

5.2 TEST CASES AND TEST REPORTS

Implementation is the state in the project where the theoretical design is turned into
a working system. The most crucial stage in achieving a new successful system and giving
confidence on the new system for the users that will work efficiently and effectively. The
system is implemented only after thorough testing is done and if it is found to work
according to the specification. It involves careful planning; investigation of the current
system is constraints on implementation, design of methods to achieve changeover, and
evaluation of the changeover methods apart from planning. Two major tasks for preparing
the implementation are educating, training the users and testing the system.

Implementation plan preparation

The implementation process begins with the preparation of plan for implementation.
According to this plan other activities are carried out. In this plan discussion has been made
regarding the equipment, resources and how to test the activities. Thus the clear planner
prepared for the activities.

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b686


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

Equipment Acquisition

The above mentioned plan, the necessary equipment has to be acquired to implement
the new system, which would include all the requirements for installing and maintaining
the XAMPP, Dreamweaver CS3 and MySQL

User training and documentation

Once the planning has been completed the major effort in the computer department
is that the user department must consist of educated and trained staff as the system becomes
more complex. The success of the system depends upon how they are operated and used
the system
Test Case

Sl. Action Input Expected Test Result Test


No. Output Status
1 Admin Valid Login id and Login Redirected to Pass
Login password for administrator authentication main menu
and Main
form load
2 Admin Invalid login id or Fail to load ID and Pass
Login password given for admin main menu password
login controls reset
and wait for
valid id and
password
3 Student Register no, student name, Mandatory Student Pass
Profile Add course and other relevant fields are profile is
details entered and click validated and updated in the
add button added the database
details

CHAPTER-6
CONCLUSION

The goal of the system is achieved and difficulties are solved. The project is built
such that it is user friendly. Analysis of the scoring system it shows by the grade wise result
of individual subject and final result also display grade wise. depending on its range of
marks. The project can be easily used in college for college result analysis of student. It
reduces time which required for manual calculation. This system helps to calculate result
fast so it optimizes the manpower. This result analysis application is useful for the control
IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b687
www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

section to maintain the student’s marks and analyse the academic performances. This
application allows the control department admin to analyse the academic performance of
the students and allows to print / download into excel sheet the student details, subject
details, marks details and marks statements.

CHAPTER 7
SCOPE FOR FUTURE ENHANCEMENTS

 Interface with control section database to get the student details, subject details,
internal and external marks details to analyse the academic performance.
 Previously data used to be inserted manually to analyse result. But, Currently the
project supports excel(.xlsx) files for extraction of data. The future scope is that data
can be fetched, parsed in other formats like doc , csv , odt , etc .
 Visualization can be provided to represent data in graphical format. Various
representation like pie chart, graph, etc .

BIBLIOGRAPHY

BOOK REFERENCES

1. Douglas Crackford, “JavaScript: The Good Parts”, First Edition, O’Reilly Media,
May 8, 2008
2. Michael Lynn, “Head First PHP & MySQL”, Second Edition,O’Reilly Media,
December 15,2008
3. Johnson, “Introduction to JavaScript”, First Edition, O’Reilly Media, June 10,2010
4. Roger S.Pressman, Ph.D, ‘Software Engineering A Practitioner's Approach’, TATA
McGraw Hill Series Fifth Edition. (2001)
5. Elias M Awad, ‘System Analysis and Design’, Galgotia Publications (P) Ltd.,
Second Edition, 1999

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b688


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

WEBSITE REFERENCES

1. www.shareurknowledgehere.wordpress.com/js_tutorials
2. www.w3schools.com/php
3. https://en.wikipedia.org/wiki/Data_flow_diagram#Developing_a_data-
flow_diagram
4. https://www.w3schools.com/sql/default.asp

APPENDIX

A)FORMS:

HOME PAGE

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b689


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

STAFF/HOD LOGIN

HOD LOGIN

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b690


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

ADMIN PAGE

USERS PAGE

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b691


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

ADD USERS

STUDENT PROFILE

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b692


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

ADD STUDENT PROFILE

MARKS REPORT FORM

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b693


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

ADD STUDENT MARKS

PERCENTAGE / CGPA PAGE

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b694


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

SEM MARKS

SUBJECT ANALYSIS PAGE

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b695


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

HOME PAGE

STUDENT LOGIN

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b696


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

STUDENT MARK RESULT

RESULT PAGE

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b697


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

PRINT & DOWNLOAD PAGE

XLS FORM

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b698


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

B) SOURCE CODE

Users Code
<?php require_once('Connections/Connection.php'); ?>

<?php

if (!isset($_SESSION)) {

session_start();

$MM_authorizedUsers = "";

$MM_donotCheckaccess = "true";

// *** Restrict Access To Page: Grant or deny access to this page

function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {

// For security, start by assuming the visitor is NOT authorized.

$isValid = False;

// When a visitor has logged into this site, the Session variable MM_Username set equal to their
username.

// Therefore, we know that a user is NOT logged in if that Session variable is blank.

if (!empty($UserName)) {

// Besides being logged in, you may restrict access to only certain users based on an ID established
when they login.

// Parse the strings into arrays.

$arrUsers = Explode(",", $strUsers);

$arrGroups = Explode(",", $strGroups);

if (in_array($UserName, $arrUsers)) {

$isValid = true;

// Or, you may restrict access to only certain users based on their username.

if (in_array($UserGroup, $arrGroups)) {

$isValid = true;

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b699


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

if (($strUsers == "") && true) {

$isValid = true;

return $isValid;

$MM_restrictGoTo = "login.php";

if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers,


$_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {

$MM_qsChar = "?";

$MM_referrer = $_SERVER['PHP_SELF'];

if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";

if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0)

$MM_referrer .= "?" . $_SERVER['QUERY_STRING'];

$MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);

header("Location: ". $MM_restrictGoTo);

exit;

?>

<?php

if (!function_exists("GetSQLValueString")) {

function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

if (PHP_VERSION < 6) {

$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) :


mysql_escape_string($theValue);

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b700


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

switch ($theType) {

case "text":

$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";

break;

case "long":

case "int":

$theValue = ($theValue != "") ? intval($theValue) : "NULL";

break;

case "double":

$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";

break;

case "date":

$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";

break;

case "defined":

$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;

break;

return $theValue;

mysql_select_db($database_Connection, $Connection);

$query_RsSelectUsers = "SELECT * FROM deptlogin ORDER BY StaffSno DESC";

$RsSelectUsers = mysql_query($query_RsSelectUsers, $Connection) or die(mysql_error());

$row_RsSelectUsers = mysql_fetch_assoc($RsSelectUsers);

$totalRows_RsSelectUsers = mysql_num_rows($RsSelectUsers);

?>

<!DOCTYPE html>

<html lang="en">

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b701


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

<head>

<meta charset="utf-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Student Marks</title>

<link rel="stylesheet" href="css/bootstrap.min.css">

<link rel="stylesheet" href="css/bootstrap-theme.min.css">

<script src="js/bootstrap.min.js"></script>

</head>

<body>

<?php

require_once('menu-top-admin.php');

?>

<div class="container">

<ul class="breadcrumb">

<li>Home</li>

<li>Users</li>

</ul>

<div class="row">

<div class="col-xs-12 col-lg-12">

<h2>Users - <a href="users-add.php">Add</a></h2>

</div>

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b702


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

</div><!--/row-->

<div class="row">

<div class="col-xs-12 col-lg-12">

<div class="table-responsive">

<form role="form" method="POST" action="" name="Form1" id="Form1"


onSubmit="document.getElementById('submit').disabled=true;">

<table border="0" class="table table-hover table-striped">

<tr>

<td>StaffID</td>

<td>Password</td>

<td>StaffName</td>

<td>Designation</td>

<td>Department</td>

<td>&nbsp;</td>

</tr>

<?php do { ?>

<tr>

<td><?php echo $row_RsSelectUsers['StaffID']; ?></td>

<td><?php echo $row_RsSelectUsers['Password']; ?></td>

<td><?php echo $row_RsSelectUsers['StaffName']; ?></td>

<td><?php echo $row_RsSelectUsers['Designation']; ?></td>

<td><?php echo $row_RsSelectUsers['Department']; ?></td>

<td><a href="users-edit.php?id=<?php echo $row_RsSelectUsers['StaffSno'];


?>">Edit</a> | <a href="users-delete.php?id=<?php echo $row_RsSelectUsers['StaffSno'];
?>">Delete</a></td>

</tr>

<?php } while ($row_RsSelectUsers = mysql_fetch_assoc($RsSelectUsers)); ?>

</table>

</form>

<p align="center"><a href="users_print.php" target="_blank">Print</a> | <a


href="users_export_xls.php">Download</a></p>

</div>

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b703


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

</div>

</div><!--/row-->

<hr>

<?php require_once('footer.php'); ?>

</div> <!-- /container -->

<?php require_once('footer-script.php'); ?>

</body>

</html>

<?php

mysql_free_result($RsSelectUsers);

?>

Students Login
<?php require_once('Connections/Connection.php'); ?>

<?php

if (!function_exists("GetSQLValueString")) {

function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

if (PHP_VERSION < 6) {

$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) :


mysql_escape_string($theValue);

switch ($theType) {

case "text":

$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";


IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b704
www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

break;

case "long":

case "int":

$theValue = ($theValue != "") ? intval($theValue) : "NULL";

break;

case "double":

$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";

break;

case "date":

$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";

break;

case "defined":

$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;

break;

return $theValue;

?>

<?php

// *** Validate request to login to this site.

if (!isset($_SESSION)) {

session_start();

$loginFormAction = $_SERVER['PHP_SELF'];

if (isset($_GET['accesscheck'])) {

$_SESSION['PrevUrl'] = $_GET['accesscheck'];

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b705


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

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

$loginUsername=$_POST['RegisterNo'];

$password=$_POST['StuPassword'];

$MM_fldUserAuthorization = "";

$MM_redirectLoginSuccess = "student_main.php";

$MM_redirectLoginFailed = "login_student.php";

$MM_redirecttoReferrer = false;

mysql_select_db($database_Connection, $Connection);

$LoginRS__query=sprintf("SELECT RegisterNo, StuPassword FROM studentprofile WHERE


RegisterNo=%s AND StuPassword=%s",

GetSQLValueString($loginUsername, "text"), GetSQLValueString($password, "text"));

$LoginRS = mysql_query($LoginRS__query, $Connection) or die(mysql_error());

$loginFoundUser = mysql_num_rows($LoginRS);

if ($loginFoundUser) {

$loginStrGroup = "";

if (PHP_VERSION >= 5.1) {session_regenerate_id(true);} else {session_regenerate_id();}

//declare two session variables and assign them

$_SESSION['MM_Username'] = $loginUsername;

$_SESSION['MM_UserGroup'] = $loginStrGroup;

if (isset($_SESSION['PrevUrl']) && false) {

$MM_redirectLoginSuccess = $_SESSION['PrevUrl'];

header("Location: " . $MM_redirectLoginSuccess );

else {

header("Location: ". $MM_redirectLoginFailed );

}
IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b706
www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

?>

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="utf-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Student Marks</title>

<link rel="stylesheet" href="css/bootstrap.min.css">

<link rel="stylesheet" href="css/bootstrap-theme.min.css">

<script src="js/bootstrap.min.js"></script>

</head>

<body>

<?php

require_once('menu-top.php');

?>

<div class="container">

<ul class="breadcrumb">

<li><a href="#">Home</a></li>

<li>Student Login</li>

</ul>

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b707


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

<div class="row">

<div class="col-xs-12 col-lg-12">

<h2>Student Login</h2>

</div>

</div><!--/row-->

<div class="row">

<div class="col-xs-4 col-lg-4" align="center">

<h2>&nbsp;</h2>

<p>&nbsp;</p>

</div>

<div class="col-xs-4 col-lg-4">

<div class="table-responsive">

<form role="form" method="POST" action="<?php echo $loginFormAction; ?>"


name="Form1" id="Form1" onSubmit="document.getElementById('submit').disabled=true;">

<table class="table table-hover table-striped">

<tr>

<td width="18%">Username</td>

<td width="74%"><input type="text" class="form-control"


name="RegisterNo" id="RegisterNo" autofocus></td>

<td width="8%">&nbsp;</td>

</tr>

<tr>

<td>Password</td>

<td><input type="password" class="form-control" name="StuPassword"


id="StuPassword" autofocus></td>

<td>&nbsp;</td>

</tr>

<tr>

<td>&nbsp;</td>

<td>

<div align="right"><button type="submit" id="Login" class="btn btn-


default">Login</button></div></td>

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b708


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

<td>&nbsp;</td>

</tr>

</table>

</form>

</div>

</div>

<div class="col-xs-4 col-lg-4" align="center">

<h2>&nbsp;</h2>

<p>&nbsp;</p>

</div>

</div><!--/row-->

<hr>

<p><img src="images/study_success_logo.jpg" width="400" height="155" alt="ss"></p>

<?php require_once('footer.php'); ?>

</div> <!-- /container -->

<?php require_once('footer-script.php'); ?>

</body>

</html>

Add Semmarks Code


<?php require_once('Connections/Connection.php'); ?>

<?php

if (!isset($_SESSION)) {

session_start();

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b709


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

$MM_authorizedUsers = "";

$MM_donotCheckaccess = "true";

// *** Restrict Access To Page: Grant or deny access to this page

function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {

// For security, start by assuming the visitor is NOT authorized.

$isValid = False;

// When a visitor has logged into this site, the Session variable MM_Username set equal to their
username.

// Therefore, we know that a user is NOT logged in if that Session variable is blank.

if (!empty($UserName)) {

// Besides being logged in, you may restrict access to only certain users based on an ID established
when they login.

// Parse the strings into arrays.

$arrUsers = Explode(",", $strUsers);

$arrGroups = Explode(",", $strGroups);

if (in_array($UserName, $arrUsers)) {

$isValid = true;

// Or, you may restrict access to only certain users based on their username.

if (in_array($UserGroup, $arrGroups)) {

$isValid = true;

if (($strUsers == "") && true) {

$isValid = true;

return $isValid;

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b710


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

$MM_restrictGoTo = "login.php";

if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers,


$_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {

$MM_qsChar = "?";

$MM_referrer = $_SERVER['PHP_SELF'];

if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";

if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0)

$MM_referrer .= "?" . $_SERVER['QUERY_STRING'];

$MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);

header("Location: ". $MM_restrictGoTo);

exit;

?>

<?php

if (!function_exists("GetSQLValueString")) {

function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

if (PHP_VERSION < 6) {

$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) :


mysql_escape_string($theValue);

switch ($theType) {

case "text":

$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";

break;

case "long":

case "int":

$theValue = ($theValue != "") ? intval($theValue) : "NULL";

break;

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b711


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

case "double":

$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";

break;

case "date":

$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";

break;

case "defined":

$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;

break;

return $theValue;

$editFormAction = $_SERVER['PHP_SELF'];

if (isset($_SERVER['QUERY_STRING'])) {

$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);

if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "Form1")) {

$colname_RsSelect = "-1";

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

$colname_RsSelect = $_POST['RegisterNo'];

$colname2_RsSelect = "-1";

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

$colname2_RsSelect = $_POST['Semester'];

mysql_select_db($database_Connection, $Connection);

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b712


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

$query_RsSelect = sprintf("SELECT * FROM semmarks WHERE RegisterNo = %s AND Semester =


%s", GetSQLValueString($colname_RsSelect, "text"),

GetSQLValueString($colname2_RsSelect, "text")

);

$RsSelect = mysql_query($query_RsSelect, $Connection) or die(mysql_error());

$row_RsSelect = mysql_fetch_assoc($RsSelect);

$totalRows_RsSelect = mysql_num_rows($RsSelect);

//echo $totalRows_RsSelect;

//exit();

if($totalRows_RsSelect == "0"){

$insertSQL = sprintf("INSERT INTO semmarks (RegisterNo, Semester, Percentage, CGPA) VALUES


(%s, %s, %s, %s)",

GetSQLValueString($_POST['RegisterNo'], "text"),

GetSQLValueString($_POST['Semester'], "int"),

GetSQLValueString($_POST['Percentage'], "double"),

GetSQLValueString($_POST['CGPA'], "double"));

mysql_select_db($database_Connection, $Connection);

$Result1 = mysql_query($insertSQL, $Connection) or die(mysql_error());

$insertGoTo = "semmarks.php";

if (isset($_SERVER['QUERY_STRING'])) {

$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";

$insertGoTo .= $_SERVER['QUERY_STRING'];

header(sprintf("Location: %s", $insertGoTo));

mysql_select_db($database_Connection, $Connection);

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b713


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

$query_RsSelectStudentProfile = "SELECT * FROM studentprofile GROUP BY RegisterNo ORDER


BY RegisterNo ASC";

$RsSelectStudentProfile = mysql_query($query_RsSelectStudentProfile, $Connection) or


die(mysql_error());

$row_RsSelectStudentProfile = mysql_fetch_assoc($RsSelectStudentProfile);

$totalRows_RsSelectStudentProfile = mysql_num_rows($RsSelectStudentProfile);

?>

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="utf-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Student Marks</title>

<link rel="stylesheet" href="css/bootstrap.min.css">

<link rel="stylesheet" href="css/bootstrap-theme.min.css">

<script src="js/bootstrap.min.js"></script>

<script type="text/javascript">

function getXMLHTTP() {

var xmlhttp=false;

try{

xmlhttp=new XMLHttpRequest();

catch(e) {

try{

xmlhttp= new ActiveXObject("Microsoft.XMLHTTP");

catch(e){

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b714


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

try{

xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");

catch(e1){

xmlhttp=false;

return xmlhttp;

function getPercentage(pid) {

var strsem = document.getElementById('RegisterNo').value;

var strURL="get_percentage.php?pid="+pid+"&sem="+strsem;

//alert(strURL);

var req = getXMLHTTP();

if (req) {

req.onreadystatechange = function() {

if (req.readyState == 4) {

// only if "OK"

if (req.status == 200) {

document.getElementById('percentagediv').innerHTML=req.responseText;

getcgpa(pid);

} else {

alert("Problem while using XMLHTTP:\n" + req.statusText);

req.open("GET", strURL, true);

req.send(null);

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b715


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

function getcgpa(pid) {

var strsem = document.getElementById('RegisterNo').value;

var strURL="get_cgpa.php?pid="+pid+"&sem="+strsem;

//alert(strURL);

var req = getXMLHTTP();

if (req) {

req.onreadystatechange = function() {

if (req.readyState == 4) {

// only if "OK"

if (req.status == 200) {

document.getElementById('cgpadiv').innerHTML=req.responseText;

} else {

alert("Problem while using XMLHTTP:\n" + req.statusText);

req.open("GET", strURL, true);

req.send(null);

</script>

</head>

<body>

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b716


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

<?php

require_once('menu-top-admin.php');

?>

<div class="container">

<ul class="breadcrumb">

<li>Home</li>

<li>Sem Marks</li>

</ul>

<div class="row">

<div class="col-xs-12 col-lg-12">

<h2>Sem Marks</h2>

</div>

</div><!--/row-->

<div class="row">

<div class="col-xs-12 col-lg-12">

<div class="table-responsive">

<form role="form" method="POST" action="<?php echo $editFormAction; ?>"


name="Form1" id="Form1" onSubmit="document.getElementById('submit').disabled=true;">

<table class="table table-hover table-striped">

<tr>

<td width="18%">RegisterNo</td>

<td width="74%"><select name="RegisterNo" id="RegisterNo" class="form-


control">

<option value="">== Select ==</option>

<?php

do {

?>

<option value="<?php echo $row_RsSelectStudentProfile['RegisterNo']?>"><?php echo


$row_RsSelectStudentProfile['RegisterNo']?></option>

<?php

} while ($row_RsSelectStudentProfile = mysql_fetch_assoc($RsSelectStudentProfile));


IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b717
www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

$rows = mysql_num_rows($RsSelectStudentProfile);

if($rows > 0) {

mysql_data_seek($RsSelectStudentProfile, 0);

$row_RsSelectStudentProfile = mysql_fetch_assoc($RsSelectStudentProfile);

?>

</select></td>

<td width="8%">&nbsp;</td>

</tr>

<tr>

<td>Semester</td>

<td><select name="Semester" id="Semester" class="form-control"


onChange="getPercentage(this.value);">

<option>== Select ==</option>

<option value="1">1</option>

<option value="2">2</option>

<option value="3">3</option>

<option value="4">4</option>

<option value="5">5</option>

<option value="6">6</option>

</select></td>

<td>&nbsp;</td>

</tr>

<tr>

<td>Percentage</td>

<td><div name="percentagediv" id="percentagediv"><input type="text"


class="form-control" name="Percentage" id="Percentage" readonly ></div></td>

<td>&nbsp;</td>

</tr>

<tr>

<td>CGPA</td>

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b718


www.ijcrt.org © 2021 IJCRT | Volume 9, Issue 12 December 2021 | ISSN: 2320-2882

<td><div name="cgpadiv" id="cgpadiv"><input type="text" class="form-control"


name="CGPA" id="CGPA" readonly ></div></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<div align="right"><button type="submit" id="submit" class="btn btn-
default">Submit</button></div></td>
<td>&nbsp;</td>
</tr>
</table>
<input type="hidden" name="MM_insert" value="Form1">
</form>
</div>
</div>
</div><!--/row-->

<hr>

<?php require_once('footer.php'); ?>

</div> <!-- /container -->

<?php require_once('footer-script.php'); ?>

</body>
</html>
<?php
mysql_free_result($RsSelectStudentProfile);

?>

IJCRT21X0023 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org b719

You might also like