Professional Documents
Culture Documents
Online Feedback Management System
Online Feedback Management System
Online Feedback Management System
On
ONLINE FEEDBACK MANAGEMENT SYSTEM
Submitted to the Rajasthan Technical University, Kota
Submitted by:
Jyotsana Kanda (18CCIXX227)
1
IT:-14-15, EPIP, Sitapura, Jaipur, Rajasthan-302022, India
Ph.: +91-141-5115908 (10 Lines), 2770131
Fax: +91-141-2770335
E-mailfin@compucom.co.in
CIN: L72200RJ1995PLC009798
CERTIFICATE
The project work has been prepared as per the regulations of Rajasthan
Technical University, Kota and qualifies to be accepted in partial fulfillment
of the requirement for the degree of MCA (Master of Computer
Applications).
Internal Examiner:-
Principal
3|Page
DECLARATION
Gajal Kaushik
MCA 6TH Semester
CIITM
Place: Jaipur
4|Page
ACKNOWLEDGEMENT
It is our privilege to express our sincerest regards to our Training project in-
charge, Mr. Rajesh Kumar Arora for their valuable inputs, able guidance,
encouragement, whole-hearted cooperation and constructive criticism
throughout the duration of our project.
We deeply express our sincere thanks to our Training project guide Mr.
Mahendra Singh Panwar for encouraging and allowing us to present the
project on the topic “Online Feedback Management System” at our
department premises for the partial fulfillment of the requirements leading to
the award of MCA degree.
5|Page
3. DECLARATION………………………….……………………….……………………...........….4
4. ACKNOWLEDGEMENT…………………………………...……………..…………………….5
ABOUT OFMS……………………………………………………………………………...…….
6.
8. THEORETICAL BACKGROUND..............................................................................................12
9. HTML.............................................................................................................................................12
10. PHP..................................................................................................................................................14
11. MySQL............................................................................................................................................27
22. ER-DIAGRAM...............................................................................................................................52
6|Page
INTRODUCTION ABOUT THE ORGANIZATION
Compucom Software Limited (CSL) is the leading software and education company
from the state of Rajasthan, serving customers spread across the six major continents.
Rapidly expanding its client base and revenue streams, the company now works out of its
development centers in Jaipur (India) and Atlanta GA (USA).
Since its IPO in 1999, CSL has been listed on the Bombay Stock Exchange (BSE). The
company has been adjudged the best software exporter for many years by Software
Technology Parks of India (STPI). The State and Central Governments have
acknowledged our contributions by various coveted honors and awards, during this
course.
Compucom Foundation
Compucom Foundation is committed to working towards the development and
empowerment of socially and economically marginal communities through various
initiatives. Our belief in giving back to society has inspired us to always stand by the
state in making our honest contributions for the development of the underprivileged, and
in times of natural calamities.
7|Page
Secondary Schools of Rajasthan. The contract value is worth Rs. 158.50 Crores
approx.
Compucom Software Ltd. Has been awarded an ICT project worth Rs. 46.71
Croresapprox by Bihar State Education Infrastructure Development Corporation
Ltd.
Compucom shares listed on NSE
Compucom has been conferred with Excellence award by the Govt. of Rajasthan.
This award is a recognition for company’s continuous effort in the field of
technology and associated services.
Compucom Software Limited’s subsidiary CSL Infomedia (P) Ltd., has received
permission from ministry of Information and Broadcasting, Govt. of India, to
uplink and downlink two News and Current Affairs satellite channels namely
JanTV and JanTV Plus
Compucom successfully reappraised for CMMI (1.2 dev) ML-3
CSL has been awarded Rajasthan Export Award for the year 08-09.
8|Page
ABOUT OFMS
Online Feedback Management System (OFMS) is a web based system that can assists the
information of Feedback during its handling in the Feedback Management. The project is
defining a well-mannered structure of the record of Feedback in a Feedback
Management, in which a user can easily register and can also check his/her
givenFeedback report.
Student Feedback system for College in PHP (Source code) Here we have developed a
faculty feedback system, which is generally used in the college to rate the faculty based
on the performance. Here we have 2 modules such as administrator, student.
Administrator is the one who creates the student account by adding all student info and
assigning the username and password.
Admin also checks the result once all students entered the feedback.. We can start the
development from the login page, where we have given the option to login as admin and
student.
Here since we have only one admin account, so no need to create the a database to store
admin information so the admin username is "admin" and password is "admin" select
admin in the radio button and login You can perform all admin actions such as login to
the account and check result.
If you entered the student user and password and selected student option, then it will
show all student information and let you enter the feedback based on the subject. Before
we can look into the PHP code, you need to create a database called "feed" with two
tables in it one as student and another one as take
In this project user can easily register by simply filling up a user registration form and
he/she will be provided a user-id and password for accessing their information. The user-
id and password is automatically generated after a successfully registration of a user.The
project is developed in a prescribed format in PHP language, it has a built in connectivity
to each and every user as well as admin portal, through which a Feedback Management
can be easily managed and the study of Feedback report can be transparently provided to
the user, so the user have faith in his/her report of Feedback.
9|Page
OBJECTIVES AND SCOPE
In this project user can easily register by simply filling up a user registration form and
he/she will be provided a user-id and password for accessing their information. The user-
id and password is automatically generated after a successfully registration of a user.
This project is developed for an easy, effective and efficient management of the Feedback
Management with providing many facilities to the users and the patients and can be easily
managed by the admin.
The major objective behind this project is to provide the Feedback for the needed patients
or the directly donation of the Feedback by user for the patient, and the Feedbackuser can
donate the Feedback by using this platform easily.
For some easy and convenient processing we need to develop aOnline Feedback
Management System that works as per the secured management of the Feedback and
when needed, it will be provided to the patient i.e. in an urgent need of Feedback for a
patient.
From security point of view this project has a unique user-name and password allotted to
each of the user or may be patient and the administrator. And if the user or patient is not
yet registered they can register themselves by simply filling the registration form, after
10 | P a g e
successful registration, they can login by simply entering their e-mail id and the
password, here the e-mail id is used as the primary key and also as the user-name for the
login into the Online Feedback Management System.
The user can also see the Feedback donation camps we have organized at many places
and the units per place we’ve collected. They can also search for the Feedback, that if that
type of Feedback we have or not, it will be easy to find out the Feedback, if Feedback
group is matched then user can apply to get that type of Feedback and also can specify
the date till that it is required.
To develop this project we used very convenient and reliable languages. These include
HTML, PHP, JavaScript, CSS and MySQL. These languages are developed in such a
manner that they could be used for a long time. This allows our application a long time
event.
11 | P a g e
THEORETICAL BACKGROUND
HTML
Hypertext Markup Language (HTML) is a system for marking up documents with tags
that indicate how text in the documents should be presented and how the documents are
linked together.
Hypertext links are quite powerful. Within the HTML markup scheme lays the power to
create interactive, cross-platform, multimedia, and client-server applications. Such a
system is the World Wide Web (also known as WWW or just simply, the Web).
12 | P a g e
HTML Tags
HTML works as a system of tags, one word or coded commands surrounded by right
angle parentheses (<>). Most tags has a front and a back form which encases the text and
instructs the browser software or computer server on how that text should appear and
what functions it might activate. All web pages begin and end with the <HTML> tags.
After the initial <HTML> tag, the <HEAD></HEAD> tags reside and contain the
<TITLE></TITLE> tags between which resides the title of the page that is displayed on
the top bar of the browser screen. Next the <BODY></BODY> tags are placed before
and after all the text included in the page, and within body tag are specifications for text
and background colors. The ordinary text is displayed as text. The tags (also called
elements) are special instructions.
Tags are identified by their names enclosed in angle brackets. The special symbols (also
called entities) are code punctuation marks such as the ampersand & and the quotation
marks ".
Thus HTML markup tags are delimited by the angle brackets,
< ... >
They appear either singularly, like the tag <P> to indicate a paragraph break in the text,
or as a pair of starting and ending tags that modify the content contained.
For example:-
<B> Attention! </B> is an instruction to present the text string Attention! In a bold
typeface.
<COMMENT>this is a comment </COMMENT> which is a comment on an HTML file.
There are tags for formatting text, tags for specifying hypertext links, tags for including
sound and picture elements, tags for defining input fields for interactive pages.
That’s all there is to Hypertext Markup Language – character entities and markup tags.
However, this system of entities and tags is evolving. HTML is not case sensitive.
13 | P a g e
PHP
PHP is the recursive acronym for "PHP: Hypertext Preprocessor". PHP is a powerful
server-side scripting language for creating dynamic and interactive websites.
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.
What distinguishes PHP from something like client-side JavaScript is that the code is
executed on the server. The PHP code is enclosed in special start and end tags that allow
you to jump into and out of "PHP mode".
PHP can be used on all major operating systems, including Linux, many Unix
variants, Microsoft Windows, Mac OS X, and probably others.
PHP has also support for most of the web servers today. This includes Apache,
Microsoft Internet Information Server, Personal Web Server, Netscape and
iPlanet servers, and many others.
With PHP you are not limited to output HTML. PHP has abilities to include
outputting images, PDF files and even Flash movies.
One of the strongest and most significant features in PHP is its support for a wide
range of databases, like MySQL, Oracle, Solid, PostgreSQL, Generic ODBC etc.
14 | P a g e
PHP Basic
PHP Syntax
You cannot view the PHP source code by selecting "View source" in the browser - you
will only see the output from the PHP file, which is plain HTML. This is because the
scripts are executed on the server before the result is sent back to the browser.
A PHP scripting block always starts with <?php and ends with ?>. A PHP scripting block
can be placed anywhere in the document.
<?php
?>
A PHP file normally contains HTML tags, just like an HTML file, and some PHP
scripting code.
Below, we have an example of a simple PHP script which sends the text "Hello World"
to the browser:
<html>
<body>
<?php
echo "Hello World";
?>
</body>
</html>
PHP Variables
15 | P a g e
Variables are used for storing values, such as numbers, strings or function results, so that
they can be used many times in a script.
All variables in PHP start with a $ sign symbol.The correct way of setting a variable in
PHP:
$var_name = value;
PHP String
A string variable is used to store and manipulate a piece of text.After we create a string
we can manipulate it. A string can be used directly in a function or it can be stored in a
variable.
Below, the PHP script assigns the string "Hello World" to a string variable called $txt:
<?php
$txt="Hello World";
echo $txt;
?>
Hello World
PHP Operators
Arithmetic Operators
Assignment Operators
Comparison Operators
Logical Operators
17 | P a g e
(x < 10 && y > 1) returns true
|| Or x=6
y=3
Very often when you write code, you want to perform different actions for different
decisions. You can use conditional statements in your code to do this.
If you want to execute some code if a condition is true and another code if a condition is
false, use the if....else statement.
Syntax
if (condition)
code to be executed if condition is true;
else
code to be executed if condition is false;
If you want to execute some code if one of several conditions are true use the elseif
statement
Syntax
if (condition)
code to be executed if condition is true;
18 | P a g e
elseif (condition)
code to be executed if condition is true;
else
code to be executed if condition is false;
PHP Switch Statements
The Switch statement in PHP is used to perform one of several different actions based on
one of several different conditions. It is used to avoid long blocks of if..elseif..else code.
Syntax
switch (expression)
{
case label1:
code to be executed if expression = label1;
break;
case label2:
code to be executed if expression = label2;
break;
default:
code to be executed
if expression is different
from both label1 and label2;
}
PHP Arrays
An array can store one or more values in a single variable name. Each element in the
array has its own ID so that it can be easily accessed. There are three different kind of
arrays:
1.Numeric Arrays
19 | P a g e
Example
$names = array("Peter","Quagmire","Joe");
2. Associative Arrays
Example
3. Multidimensional Arrays
In a multidimensional array, each element in the main array can also be an array. And
each element in the sub-array can be an array, and so on.
Example
$families = array
(
"Griffin"=>array
(
"Peter",
"Lois",
"Megan"
),
"Quagmire"=>array
(
"Glenn"
),
"Brown"=>array
(
"Cleveland",
"Loretta",
20 | P a g e
"Junior"
)
);
PHP Looping
Looping statements in PHP are used to execute the same block of code a specified
number of times. In PHP we have the following looping statements:
1. The while Statement: The while statement will execute a block of code if and as long
as a condition is true.
Syntax
while (condition)
code to be executed;
2. The do...while Statement: The do...while statement will execute a block of code at
least once - it then will repeat the loop as long as a condition is true.
Syntax
Do
{
code to be executed;
}
while (condition);
3. The for Statement: The for statement is used when you know how many times you
want to execute a statement or a list of statements.
Syntax
21 | P a g e
code to be executed;
}
4. The foreach Statement: The foreach statement is used to loop through arrays.
Syntax
PHP Functions
The real power of PHP comes from its functions. In PHP - there are more than 700 built-
in functions available.
Example
<html>
<body>
<?php
function writeMyName()
{
echo "Kai Jim Refsnes";
}
echo "Hello world!<br />";
echo "My name is ";
writeMyName();
echo ".<br />That's right, ";
writeMyName();
22 | P a g e
echo " is my name.";
?>
</body>
</html>
Hello world!
My name is Kai Jim Refsnes.
That's right, Kai Jim Refsnes is my name.
Example
<html>
<body>
<?php
function add($x,$y)
{
$total = $x + $y;
return $total;
}
echo "1 + 16 = " . add(1,16);
?>
</body>
</html>
1 + 16 = 17
23 | P a g e
The PHP $_GET and $_POST variables are used to retrieve information from forms, like
user input.
Form example:
<html>
<body>
<form action="welcome.php" method="post">
Name: <input type="text" name="name" />
Age: <input type="text" name="age" />
<input type="submit" />
</form>
</body>
</html>
The example HTML page above contains two input fields and a submit button. When the
user fills in this form and click on the submit button, the form data is sent to the
"welcome.php" file.
<html>
<body>
Welcome <?php echo $_POST["name"]; ?>.<br />
You are <?php echo $_POST["age"]; ?> years old.
</body>
</html>
Welcome John.
You are 28 years old.
PHP $_GET
24 | P a g e
The $_GET variable is used to collect values from a form with method = "get".
Information sent from a form with the GET method is visible to everyone (it will be
displayed in the browser's address bar) and it has limits on the amount of information to
send (max. 100 characters).
Example
When the user clicks the "Submit" button, the URL sent could look something like this:
http://www.w3schools.com/welcome.php?name=Peter&age=37
The "welcome.php" file can now use the $_GET variable to catch the form data (notice
that the names of the form fields will automatically be the ID keys in the $_GET array):
PHP $_POST
The $_POST variable is used to collect values from a form with method = "post".The
$_POST variable is used to collect values from a form with method="post".
Information sent from a form with the POST method is invisible to others and has
no limits on the amount of information to send.
Example
25 | P a g e
Enter your age: <input type="text" name="age" />
<input type="submit" />
</form>
When the user clicks the "Submit" button, the URL will not contain any form data, and
will look something like this:
http://www.w3schools.com/welcome.php
The "welcome.php" file can now use the $_POST variable to catch the form data (notice
that the names of the form fields will automatically be the ID keys in the $_POST array):
MySQL
MySQL is currently the most popular open source database server in existence, which
defines a structure for storing information. On top of that, it is very commonly used in
conjunction with PHP scripts to create powerful and dynamic server-side applications.
The most important advantage of using MySQL with PHP is that PHP in collaboration
with MySQL provides cross-platform.
With MySQL, we can query a database for specific information and have a record set
returned.
MySQL Connect
Before you can do anything with MySQL in PHP you must first establish a connection to
your web host's MySQL database. This is done with the MySQL connect function.
Syntax
mysql_connect(servername,username,password);
26 | P a g e
MySQL localhost
When the PHP script and MySQL are on the same machine, you can use localhost as the
address you wish to connect to. localhost is a shortcut to just have the machine connect to
itself. If your MySQL service is running at a separate location you will need to insert the
IP address or URL in place of localhost.
Example
In the following example we store the connection in a variable ($con) for later use in the
script. The "die" part will be executed if the connection fails:
<?php
$con = mysql_connect("localhost","peter","abc123");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
// some code
?>
Closing a Connection
The connection will be closed as soon as the script ends. To close the connection before,
use the mysql_close() function.
<?php
$con = mysql_connect("localhost","peter","abc123");
if (!$con)
{
die('Could not connect: ' . mysql_error());
27 | P a g e
}
// some code
mysql_close($con);
?>
Syntax
To get PHP to execute the statement above we must use the mysql_query() function. This
function is used to send a query or command to a MySQL connection.
Syntax
Important: A database must be selected before a table can be created. The database is
selected with the mysql_select_db() function.
The INSERT INTO statement is used to add new records to a database table.
28 | P a g e
Syntax
You can also specify the columns where you want to insert the data:
Syntax
SELECT column_name(s)
FROM table_name
To select only data that matches a specified criteria, add a WHERE clause to the
SELECT statement -
Syntax
Operator Description
= Equal
!= Not equal
> Greater than
< Less than
>= Greater than or equal
<= Less than or equal
29 | P a g e
BETWEEN Between an inclusive range
LIKE Search for a pattern
Peter Griffin
Syntax
SELECT column_name(s)
FROM table_name
ORDER BY column_name
Syntax
UPDATE table_name
SET column_name = new_value
WHERE column_name = some_value
The DELETE FROM statement is used to delete records from a database table.
Syntax
30 | P a g e
PROBLEM DEFINITION
Online Feedback Management System has been developed to deal with the problem faced
by the Feedback Managements i.e. the management of the Feedback in an efficient
manner, managing the users and it also provides a way in which the administrator can
manage the users and also check and update the details and profile of the users.
At present, the public can only know about the Feedback donation events through
conventionalmedia means such as radio, newspaper or television advertisements. There is
no informationregarding the Feedback donation programs available on any of the portal.
The current system that is using by the Feedback Management is manual system. With
the manual system,there are problems in managing the users' records.
The records of the user might not be keptsafely and there might be missing of user's
records due to human error or disasters. Besidesthat, errors might occur when the staff
keeps more than one record for the same user.There is no centralized database of
volunteer users.
So, it becomes really tedious for a person tosearch Feedback in case of emergency. The
only option is to manually search and match users andthen make phone calls to every
user.
Hence, the user is consideredto be a first-timer if they make Feedback donation in a new
place.Without an automated management system, there are also problems in keeping
track of the actualamount of each and every Feedback type in the Feedback Management.
31 | P a g e
In addition, there is also no alertavailable when the Feedback quantity is below its par
level or when the Feedback in the bank hasexpired.
FEASIBILITY STUDY
A feasibility study aims to objectively and rationally uncover the strengths and
weaknesses of an existing business or proposed venture, opportunities and threats present
in the natural environment, the resources required to carry through, and ultimately the
prospects for success. In its simplest terms, the two criteria to judge feasibility are cost
required and value to be attained.
A feasibility study evaluates the project's potential for success; therefore, perceived
objectivity is an important factor in the credibility of the study for potential investors and
lending institutions. It must therefore be conducted with an objective, unbiased approach
to provide information upon which decisions can be based.
Technical feasibility
A brief description of the business to assess more possible factors which could
affect the study
The part of the business being examined
The human and economic factor
The possible solutions to the problem
32 | P a g e
At this level, the concern is whether the proposal is both technically and legally feasible
(assuming moderate cost).
Legal feasibility
It determines whether the proposed system conflicts with legal requirements, e.g., a data
processing system must comply with the local data protection regulations and if the
proposed venture is acceptable in accordance to the laws of the land.
Operational feasibility is the measure of how well a proposed system solves the
problems, and takes advantage of the opportunities identified during scope definition and
how it satisfies the requirements identified in the requirements analysis phase of system
development.
The operational feasibility assessment focuses on the degree to which the proposed
development project fits in with the existing business environment and objectives with
regard to development schedule, delivery date, corporate culture and existing business
processes.
To ensure success, desired operational outcomes must be imparted during design and
development. These include such design-dependent parameters as reliability,
maintainability, supportability, usability, reducibility, disposability, sustainability,
affordability and others. These parameters are required to be considered at the early
stages of design if desired operational behaviors are to be realized. A system design and
development requires appropriate and timely application of engineering and management
efforts to meet the previously mentioned parameters. A system may serve its intended
purpose most effectively when its technical and operating characteristics are engineered
into the design. Therefore, operational feasibility is a critical aspect of systems
engineering that needs to be an integral part of the early design phases.
Time feasibility
A time feasibility study will take into account the period in which the project is going to
take up to its completion. A project will fail if it takes too long to be completed before it
is useful. Typically this means estimating how long the system will take to develop, and
33 | P a g e
if it can be completed in a given time period using some methods like payback period.
Time feasibility is a measure of how reasonable the project timetable is. Given our
technical expertise, are the project deadlines reasonable? Some projects are initiated with
specific deadlines. It is necessary to determine whether the deadlines are mandatory or
desirable.
Financial feasibility
In case of a new project, financial viability can be judged on the following parameters:
Full details of the assets to be financed and how liquid those assets are.
Rate of conversion to cash-liquidity (i.e., how easily the various assets can be
converted to cash).
Project's funding potential and repayment terms.
Sensitivity in the repayments capability to the following factors:
o Mild slowing of sales.
o Acute reduction/slowing of sales.
o Small increase in cost.
o Large increase in cost.
o Adverse economic conditions.
34 | P a g e
SYSTEM ANALYSIS AND DESIGN
SYSTEM ANALYSIS
DESIGN
A design for a software product should provide the information about the desired output,
required environment and economic conditions etc. So, a design can also be regarded as a
detailed plan for a solution to a problem.
35 | P a g e
To follow the design requirements and criteria, we followed a generic design process
whose steps can be described in the following diagram. In this process, design proceeds
in levels and each level is based upon the outcome of the other. At the completion of each
step, reviews are planned to verify the outcome of each step.
Data collection
Problem description
Evaluation criteria
Review
Realizations Revise
Review
Evaluate
Evaluation Criteria
Review
No
OK
Yes
Specify Formally
36 | P a g e
SYSTEM PLANNING(PERT CHART)
PERT stands for Program Evaluation Review Technique, which is a project
management tool, used to schedule, organize, and coordinate tasks within a project.
PERT chart uses paths and events to show the interrelationship of project activities. Pert
make use of tasks and it shows the achievements
Terminal achievements called EVENTS.
ARROWS are used to show represent task.
CIRCLES represent the beginning or completion of the task.
It also helps in determining the critical path of the project and establishes most likely
time estimates for individual tasks by applying statistical Models. The direction of the
arrows on the lines in the pert chart indicates the sequence of tasks.
The EVENTS of our project are shown in the following table:
1. Starting phase
2. Recognition of need – Problem Definition
3. Analysis & Feasibility Study
4. Designing and Coding phase
5. Database Design
6. Front-End Design
7. Back-End Design
8. Testing
9. Documentation
10. Ending phase
37 | P a g e
38 | P a g e
METHODOLOGY ADOPTED
To develop the application, we needed a simple process model that could be used to
guide us through a proper methodology towards our project’s development. We followed
the Waterfall Model for that purpose to develop an effective and efficient application.
Waterfall model is the simplest process model which has dominated software
development for a number of years. It centers on planned work and is best suited for
projects where requirementscan be clearly defined. It groups development activities into
independent steps that are carried out in a systematic sequence one after the other i.e.
they are organized in a linear fashion of consecutive phases.
The sequence of major phases performed in our project included:-
39 | P a g e
Concept Formation
This phase is divided into two sub-phases that include Problem Definition and Feasibility
Study. Problem definition provides a broad statement of user requirements, or what the
user expect from the software to do and thus sets the direction for the whole project.
Feasibility study proposes one or more conceptual solutions to the problem set for the
project. These solutions also indicate what input will be needed by the software and what
will be the output produced.
Software Design
In this phase, various features of a software are included that are data structures, software
architecture, interface representation and algorithmic details. Designers must also select
the equipment needed to develop the software. It proceeds in two steps:
Preliminary Design: Identifies the main architecture of the proposed software
Detailed Design: Database and program modules are designed and detailed user
procedures are documented.
40 | P a g e
Software Integration and testing
After building the code and performing unit testing, the individual program units are
integrated to build the software as a whole. Then integration testing is performed to
ensure that all software requirements have been met or not.
41 | P a g e
SYSTEM IMPLEMENTATION
Once the Web application has been prepared, it is delivered to its user. The user then can
implement that application at his site to bring that into use. But for implementation, the
user must require certain tools, platform and languages for proper functioning of the
application.
1. Operating System
2. Front End
3. Back End
4. Network
Network connectivity is required between the server and the client, i.e. the
administrator and users/patients. Any Local Area Network Connection
will be able to support this connectivity.
42 | P a g e
HARDWARE AND SOFTWARE REQUIREMENTS
HardwareRequirements
Server Side:-
Software Requirements
Server Side:-
Operating System :- Windows/Open Source OS
Web Server :- PHP 7.0
Front End :- PHP, HTML, CSS, JavaScript
Back End :- MySQL
Client Side:-
Operating System :- Windows 7 or any compatible
Operating System.
Web Browser :- IE 7.0 or any compatible browser.
43 | P a g e
Tomcat Apache.
MySql.
Eclipse.
SYSTEM MAINTAINANCE
After a system is developed, delivered and implemented, the main course that comes into
action is its maintenance. System maintenance is a very important phase of project
development. With changing time, technologies, hardware as well as the environment,
everything is undergoing a major change. To meet such changes, the system developed
must be efficient enough to undergo such changes without destroying the main objective
of the system.
Online Feedback Management System is, therefore, developed using easy to maintain
techniques. A large time and effort has been used to embed the maintainability features in
our application. Now, our program contains the following features with respect to its
maintenance:-
Deletion: Any module, if not required, can be removed from the application
code to enhance code compaction feature.
Portability: This application is developed upon the PHP and MySQL which are
easy to import anywhere, thereby making the application a portable one.
Reliability: One can easily rely on this application for maintenance of stock and
making of complaints.
45 | P a g e
COST AND BENEFITS ANALYSIS
COST ANALYSIS
Cost analysis is particularly important because it decides the execution boundaries of the
project in terms of resources that will be made available for the project and whether the
project is considered feasible in terms of cost. There exist a number of alternatives to
accomplish the reliable cost estimations. Any ofthese alternatives will show its affect
when used with the data of the past projects.
A number of cost elements are considered while analyzing the total cost of application
development. These include human resources, reusable software components and
hardware/software tools. Besides, cost of documentation, operations, implementation,
delivery and maintenance is also considered.
Hardware Cost: Hardware costs relates to the lease of the computer and
peripherals like printer, disk drive, compact disk.
Personnel Cost: This cost includes salaries of the programmers and incentives
paid for health insurance, vacation time, sick pay etc. cost incurred during the
development of a system are one-time cost and are labeled development cost.
46 | P a g e
Supply Cost:Supply costs are variable costs that increase with increased use of
the paper, ribbons, pins, stapler, pen, Pencil etc.
Maintenance Cost: This is the cost set in advance related to possible future
prospects of an application in its extension or in its improvement or in removal of
errors.
Considering all such cost estimations, we found our project feasible to develop and
maintain and hence can be implemented easily.
BENEFITS ANALYSIS
After the cost analysis has been done, we also need to execute the benefits analysis of our
project so as to ensure the efficiency and effectiveness of our project. This includes
checking out whether or not our project is helping in minimizing the work done by any
professional in one way or the other.
For carrying out the benefits analysis, we compared the work done by Feedback
Management before the use of this application and after its usage. This was done to
compare the time and effort of the Feedback Management involved, before and after our
project usage.
This Web application prevents a lot of paper work done by the Feedback
Managements in maintenance of the computer stock.
It also eliminates the need of looking out for record files whenever a point
information is required.
The Web application eases out the Feedback Managements from the trouble of
going to the administrator for reporting every complaint faced by any computer.
47 | P a g e
It also eliminates the need of maintaining a complaint register by the
administrator to check out for complaints and suggestions.
It also helps the administrator to convey information to all users and patients from
one point.
It provides an easy updating of records by the user whenever a new update made
to the Online Feedback Management System.
The application program also enables the administrator to easily, without any
pain, add or delete any data from the database.
Most importantly, this application makes the whole work done in a highly
organized, effective and secure manner.
Considering all such benefits, we found the project highly beneficial for the management
of Feedback and user and patients. And thus it is a must have to make this work secure
and organized.
48 | P a g e
PROJECT LIFE CYCLE
Design
Coding
Unit Testing
System Testing
Design
Once we had completely understood the requirements of the user/patient and the
administrator, we proceeded to the designing of the software. This step is divided into
two-level designing; named as,
Preliminary design or high level design and
Detailed design or low-level design.
Preliminary design concerns the brief overview of the software architecture and structure
whereas detailed design is its refined view that include designing of each module in
detail.
Coding
In this phase, we produced the actual code that will be delivered to administrator as the
operational product. To develop this code, we used HTML as the front end scripting
language and PHP and CSS as the back end scripting languages with MySQL as the
database.
Unit Testing
To make our project organized, effective and secure, we worked by creating modules and
combining them together. Once each module is completed with its code, it is tested
individually in this phase. It is also called Unit Testing. This testing is performed for each
of the module separately.
System Testing
50 | P a g e
Once we had developed all the modules and tested them individually, we collected and
integrated them appropriately with each other in this phase. Interfaces were then provided
between them, and then the whole system was tested fully.
On above all these steps, we completely developed our project and have it implemented
on the site.
ER-DIAGRAM
1-LEVEL DFD
52 | P a g e
2-LEVEL DFD
53 | P a g e
INPUT–OUTPUTSCREEN DESIGNS:-
Homepage
54 | P a g e
User Registration Form
“About” page
55 | P a g e
Login Page
Contact Page
56 | P a g e
Admin Dashboard:
57 | P a g e
STUDENT’S PAGES
58 | P a g e
Faculty Pages:
59 | P a g e
60 | P a g e
Processes Involved
In between the user visits our Web application, “Online Feedback Management System”
and leaves out, a huge process is involved in between. This process includes:-
Managing databases
Maintenance of sessions
Validation of information
Collection of information
Providing information
Updating of databases
All these processes involve effort to be done on the back end side. Users won’t be able to
get even a hint of that. For them, the whole process will seem to be in quite an easy and
natural flow.
These processes mainly require several databases to be maintained. The various database
tables used in our project can be given as under:-
Each of these tables can be viewed separately to show all its fields and kinds of entries it
supports, as:-
61 | P a g e
Database view:-
Admin Table:-
Contact us:-
62 | P a g e
Feedback Table:-
UsersTable:-
63 | P a g e
BASIC PROJECT CODE
Homepage –
PHP Code
<?php
session_start();
require('dbconfig.php'); ?>
<!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">
<meta name="description" content="">
<meta name="author" content="">
<title>Online feedback System</title>
</head>
64 | P a g e
<body>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="navnavbar-navnavbar-right">
<li style="color:#FFFFFF">
<a style="color:#FFFFFF" href="index.php"><i class="fafa-home fa-fw"></i>Home</a>
</li>
<li style="color:#FFFFFF">
65 | P a g e
<a style="color:#FFFFFF" href="index.php?info=about"><i class="fafa-home fa-
fw"></i>About</a>
</li>
<li class="dropdown">
<a style="color:#FFFFFF" href="#" class="dropdown-toggle" data-toggle="dropdown"
href="#"><i class="fafa-sign-in fa-fw"></i>Login
<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="index.php?info=login">Student</a></li>
<li><a href="index.php?info=faculty_login">Faculty</a></li>
<li><a href="admin">Admin</a></li>
</ul>
</li>
<li>
<a style="color:#FFFFFF" href="index.php?info=contact"><i class="fafa-phone fa-
fw"></i>Contact</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
66 | P a g e
</div>
<!-- /.container -->
</nav>
<?php
@$info=$_GET['info'];
if($info!="")
{
if($info=="about")
{
include('about.php');
}
else if($info=="contact")
{
include('contact.php');
}
else if($info=="login")
{
include('login.php');
}
else if($info=="faculty_login")
{
include('faculty_login.php');
}
67 | P a g e
else if($info=="registration")
{
include('registration.php');
}
}
else
{
?>
<!-- slider start -->
<header id="myCarousel" class="carousel slide">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
</div>
</div>
<div class="item">
68 | P a g e
<div class="fill" style="background-image:url('images/feedback1.jpg');"></div>
<div class="carousel-caption">
</div>
</div>
<div class="item">
<div class="fill" style="background-image:url('images/feedback3.jpg');"></div>
<div class="carousel-caption">
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="col-sm-10" style="margin-top:60px;margin-
bottom:80px">
<h2>About Faculty feedback System</h2>
69 | P a g e
Student Feedback system for College in PHP(SOurce code)
Here we have developed the a faculty feedback system, which is generally used in the
college to rate the faculty based on the performance...Here we have 2 modules such as
administrator, student.
Administrator is the one who creates the student account by adding all student info and
assigning the username and password.
Admin als0 checks the result once all students entered the feedback..
We can start the development from the login page, where we have given the option to
login as admin and student...Here since we have only one admin account, so no need to
create the a database to store admin info...so the admin username is "admin" and
password is "sandeep"...select admin in the radio button and login
You can perform all admin actions such as login to the account and check result..
I fyou entered the student user and password and selected student option, then it will
show all student information and let you enter the feedback based on the subject..
Before we can look into the php code, you need to create a database called "feed" with
two tables in it..one as student and another one as take
</div>
<?php } ?>
</div>
</div>
<!-- /.container -->
70 | P a g e
<span style="color:#FFFFFF">© All Rights Reserved by <a
href="#"> AS Company 2019</a></span>
</div>
<!--jQuery -->
<scriptsrc="css/jquery.js"></script>
</body>
</html>
CSS Code
html,body
{
font-family:calibri;
font-size: 18px;
margin:0px;
padding:0px;
height:100%;
width:100%;
71 | P a g e
}
.header_img
{
width:100%;
margin-top:0px;
}
.box1
{
margin-left:10px;
padding:5px;
float:left;
border:1px solid;
height:450px;
width:32%;
text-align: justify;
}
.box2
{
margin-right:10px;
padding:5px;
float:right;
border:1px solid;
top:400px;
height:450px;
width:32%;
text-align: justify;
}
.box3
72 | P a g e
{
margin: auto;
padding:5px;
border:1px solid;
top:400px;
height:450px;
width:32%;
text-align: justify;
}
.box4
{
margin: 0px auto;
padding-top: 2px;
text-align: justify;
padding: 10px;
height:450px;
width:1315px;
}
.mrq :hover
{
color:red;
}
Registration Form –
PHP Code
<DOCTYPE! HTML>
<head>
73 | P a g e
<meta http-equiv="Content-Type" content="text/html"; charset="utf-8" />
<title>User Register</title>
<link rel="stylesheet" href="css/user register.css" type="text/css">
</head>
<?php
include 'header.php';
?>
<div class="bgbox">
<center>
<table border=0 height=600px width=800px cellpadding=6px>
<form name="form1" action="user_register.php" method="POST">
<thead><font face="Blue" color="red" style="margin:10px;"><h1><b>User Registration
Form</b></h1></font></thead>
<tr>
<td rowspan="12"><imgsrc="img/bg1.jpg" height="540px" width="250px"></td>
</tr>
<tr>
<td><input type="text" name="name" size=50 placeholder="Enter your name"
required></td>
</tr>
<tr>
<td><b>Gender : </b>
<select name="gender" required>
<optgroup label="Select your Gender">
<option>Male</option>
<option>Female</option>
</optgroup>
</select>
74 | P a g e
</td>
</tr>
<tr>
<td><b>Date of Birth</b><input type="date" name="DOB" required ></td>
</tr>
<tr>
<td><input type="text" name="age" size=50 placeholder="Enter your age"
required></td>
</tr>
<tr>
<td><input type="text" name="mobile" size=50 placeholder="Enter your 10 digit mobile
number" required></td>
</tr>
<tr>
<td><b>Feedback Group : </b>
<select name="Feedback_group" required>
<optgroup label="Select your Feedback Group">
<option>A+</option>
<option>A-</option>
<option>B+</option>
<option>B-</option>
<option>AB+</option>
<option>AB-</option>
<option>O+</option>
<option>O-</option>
</optgroup>
</select>
</td>
</tr>
<tr>
<td><input type="email" name="email" size=50 placeholder="Enter your email address
here." required></td>
75 | P a g e
</tr>
<tr>
<td><input type="password" name="password" id="ps1" size=50 placeholder="Enter
password." required></td>
</tr>
<tr>
<td><input type="password" name="c_password" id="ps2" size=50
placeholder="Confirm your password" required></td>
</tr>
<tr>
<td><input type="submit" value="Register" name="submit"
class="confirm"><input type="Reset"
value="Reset"></td>
</tr>
</form>
</table>
</center>
</div>
<center><a href="userlogin.php">Login here, If you're already
registered.</a></center>
<?php
include 'footer.php';
?>
</body>
<script>
var password = document.getElementById("ps1"), confirm_password =
document.getElementById("ps2");
functionvalidatePassword(){
if(password.value != confirm_password.value)
76 | P a g e
{
confirm_password.setCustomValidity("Passwords Don't Match");
}
else
{
confirm_password.setCustomValidity('');
}
}
password.onchange = validatePassword;
confirm_password.onkeyup = validatePassword;
</script>
</html>
function connect()
{
$dbhost="localhost";
$dbuser="root";
$dbpass="";
$dbname="SAS_Feedback_bank_management_system";
# Create Connection
$conn=new mysqli($dbhost,$dbuser,$dbpass,$dbname)
or die($conn->connect_error);
return $conn;
}
$conn=connect();
$name=$conn->real_escape_string($_POST['name']);
77 | P a g e
$gender=$conn->real_escape_string($_POST['gender']);
$DOB=$conn->real_escape_string($_POST['DOB']);
$age=$conn->real_escape_string($_POST['age']);
$mobile=$conn->real_escape_string($_POST['mobile']);
$Feedback_group=$conn->real_escape_string($_POST['Feedback_group']);
$email=$conn->real_escape_string($_POST['email']);
$password=$conn->real_escape_string($_POST['password']);
$c_password=$conn->real_escape_string($_POST['c_password']);
$query="INSERT into rg_form(name, gender, DOB, age, mobile, Feedback_group,
email, password, c_password)
VALUES('" .$name . "','" .$gender . "','" .$DOB . "','" .$age . "','" .$mobile . "','" .
$Feedback_group . "','" .$email . "','" .$password . "','" .$c_password . "')";
$success=$conn->query($query);
if(!$success)
{
die("Could not enter data: ".$conn->error);
}
echo "<script> alert('You are Successfully Registered')</script>";
$conn->close();
?>
<?php
include 'userlogin.php';
?>
CSS Code
html,body
{
78 | P a g e
font-family:calibri;
margin:0px;
padding:0px;
height:100%;
width:100%;
}
.bgbox
{
position: relative;
height: 750px;
width:800px;
margin:50px auto;
box-shadow: -0px -0px 10px 10pxrgba(27, 27, 231, 0.562);
background: white;
}
.bgbox input
{
width:100%;
height:35px;
margin-bottom: 10px;
border-radius: 0px;
padding:5px;
}
.bgboxinput[type="submit"]
{
border:none;
outline:none;
height:40px;
79 | P a g e
color:#fff;
font-size:16px;
background:#aa0505;
cursor: pointer;
border-radius: 0px 0px 20px 20px;
}
.bgboxinput[type="reset"]
{
border:none;
outline:none;
height:40px;
color:#fff;
font-size:16px;
background:#aa0505;
cursor: pointer;
border-radius: 20px 20px 0px 0px ;
}
.bgboxinput[type="submit"]:hover
{
background:rgb(236, 81, 96);
color:black;
}
.bgboxinput[type="reset"]:hover
{
background:rgb(236, 81, 96);
color:black;
}
80 | P a g e
Feedback –
PHP Code
<DOCTYPE! HTML>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Search</title>
<link rel="stylesheet" href="css/search.css" type="text/css">
</head>
<body background="img/bg3.jpg">
<?php
include 'header.php';
?>
<center>
<div class="login">
<h1><font face="blue">Search for Feedback</font></h1>
<form action="search query.php" method="POST">
<b>Select type of Feedback required :-</b><br><br>
<select name="search">
<option value="A+">A+</option>
<option value="A-">A-</option>
<option value="B+">B+</option>
<option value="B-">B-</option>
<option value="AB+">AB+</option>
<option value="AB-">AB-</option>
81 | P a g e
<option value="O+">O+</option>
<option value="O-">O-</option>
</select><br><br>
<input type="submit" value="Search Now">
</form>
</div>
</center>
<?php
include 'footer.php';
?>
</body>
</html>
PHP Connection Code
<html>
<head>
<title>Search for Feedback_Group</title>
</head>
<body style="background-image:url(img/bg3.jpg);">
<?php
$conn=mysqli_connect("localhost:3306","root","","SAS_Feedback_bank_management_s
ystem");
$msg = "";
$msg.='<center><h3>All Details According to Feedback Group</h3><table border="1"
cellpadding=5px >
<tr>
<th>NAME</th>
<th>EMAIL-ID</th>
82 | P a g e
<th>MOBILE NO</th>
<th>GENDER</th>
<th>FEEDBACK GROUP</th>
</tr>';
?>
<?php
$msg.="";
$bg=$_POST["search"];
$query = "select * from rg_form where Feedback_group='$bg'";
$row = mysqli_query($conn, $query);
while($res=mysqli_fetch_assoc($row))
{
$msg.= '<tr>';
$msg.= '<td>'.$res["name"].'</td>';
$msg.= '<td>'.$res["email"].'</td>';
$msg.= '<td>'.$res["mobile"].'</td>';
$msg.= '<td>'.$res["gender"].'</td>';
$msg.= '<td>'.$res["Feedback_group"].'</td>';
$msg.= '</tr>';
}
$msg.='</table><a href="search.php">Cancel</a></center>';
?>
<div>
<br>
<br>
83 | P a g e
<?php
$myfile = fopen("search.txt", "w") or die("Unable to open file!");
fwrite($myfile, $msg);
fclose($myfile);
</body>
</html>
CSS Code
html,body
{
font-family:calibri;
font-size: 18px;
margin:0px;
padding:0px;
height:100%;
width:100%;
background-size:cover;
}
.login
{
background-color: rgba(226, 69, 215, 0.553);
color:rgb(255, 255, 255);
84 | P a g e
align-items: center;
width:350px;
height:300px;
margin-top: 120px;
margin-bottom: 150px;
border-radius:10px;
box-shadow: -0px -0px 10px 10pxrgba(27, 27, 231, 0.459);
}
.login select
{
height:40px;
width:200px;
font-size: 16px;
}
.login input[type="submit"]
{
border:none;
outline:none;
width:200px;
height:40px;
color:#fff;
font-size:16px;
background:#aa0520;
cursor: pointer;
border-radius: 50px;
}
.login input[type="submit"]:hover
{
background:purple;
85 | P a g e
}
Student Login –
PHP Code
<DOCTYPE! HTML>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>User Login</title>
<link rel="stylesheet" href="css/user login.css" type="text/css">
</head>
<body background="img/bg3.jpg">
<?php
include 'header.php';
?>
<center>
<div class="login">
<h1><font face="blue">User Login</font></h1>
<form action="login.php" method="POST" >
<input type="email" name="user_name" placeholder="Enter your Email_id"
required><br>
<input type="password" name="password" placeholder="Enter password here"
required><br>
<input type="submit" name="submit" value="Sign-in">
<a href="userregister.php" name="register">Register here, If not yet Registered</a>
</form>
86 | P a g e
</div>
</center>
<?php
include 'footer.php';
?>
</body>
</html>
<?php
if(isset($_POST["submit"]))
{
session_start();
$_SESSION['u_name']=$_POST['user_name'];
$a=$_POST["user_name"];
$b=$_POST["password"];
$conn=mysqli_connect("localhost:3306","root","","sas_Feedback_bank_management_sy
stem");
$retval=mysqli_query($conn,"select * from rg_form where email='$a' and
Password='$b'");
if(mysqli_num_rows($retval)>0)
{
header("location:d welcome user.php");
}
else
{
echo "<script> alert('invalid user');window.location='Userlogin.php';</script>";
}
87 | P a g e
}
else if(isset($_POST["register"]))
{
header("location:userregister.php");
}
?>
CSS Code
@charset "utf-8";
/* CSS Document */
body
{
font-family:calibri;
margin:0px;
padding:0px;
height:100%;
width:100%;
background-size: cover;
}
.login
{
background-color: rgba(226, 69, 213, 0.404);
color:rgb(255, 255, 255);
align-items: center;
width:400px;
height:100%px;
margin-top: 150px;
margin-bottom: 200px;
border-radius:10px;
box-shadow: -0px -0px 10px 10pxrgba(27, 27, 231, 0.459);
88 | P a g e
}
.login input
{
width:90%;
height:35px;
margin-bottom: 10px;
border-radius: 0px;
}
.login input[type="submit"]
{
border:none;
outline:none;
height:40px;
color:#fff;
font-size:16px;
background:#aa0520;
cursor: pointer;
border-radius: 15px 15px 0px 0px;
}
.login input[type="submit"]:hover
{
background:purple;
}
.login input[type="reset"]
{
border:none;
outline:none;
height:40px;
color:#fff;
font-size:16px;
background:#aa0520;
89 | P a g e
cursor: pointer;
border-radius: 15px 15px 0px 0px;
}
.login input[type="reset"]:hover
{
background:purple;
}
Faculty Panel –
PHP Code
<?php
include 'dheader.php';
?>
<HTML>
<head>
<title>Welcome User</title>
</head>
<body>
<center>
<imgsrc="login/welcome.jpg" width="800px" height="300px" style="margin-
top:50px;">
</center>
</body>
</HTML>
<?php
include 'dfooter.php';
?>
CSS Code
html,body
90 | P a g e
{
font-family:calibri;
font-size: 18px;
margin:0px;
padding:0px;
height:100%;
width:100%;
}
.bg_header
{
margin:0px auto;
height: 150px;
width: 100%;
border:none;
background: rgba(0, 0, 0, 0.911);
}
.buttons
{
float:right;
padding-right:200px;
margin:auto;
}
.buttons input[type="button"]
{
height:25px;
background-color:rgba(236, 47, 47, 0.705);
color: white;
border:0px solid;
border-radius: 0px;
}
.buttons input[type="button"]:hover
91 | P a g e
{
background-color: white;
color: black;
border:0px solid;
border-radius: 0px;
transition: all 0.5s;
}
View Profile –
PHP Code
<?php
include 'dheader.php';
?>
<html>
<head>
<title>View Profile</title>
</head>
<body>
<?php
session_start();
if(!isset($_SESSION['u_name']))
{
header("location: login.php");
}
$conn=mysqli_connect("localhost:3306","root","","SAS_Feedback_bank_management_s
ystem");
$msg = "";
$msg.='<center><h3>Your profile details are as follows :-</h3><table border="1"
cellpadding=5px style="background-color:skyblue;">';
?>
92 | P a g e
<?php
$msg.="";
$email=$_SESSION["u_name"];
$query = "select * from rg_form where email= '$email'";
$row = mysqli_query($conn, $query);
while($res=mysqli_fetch_assoc($row))
{
$msg.= '<tr><th>Name</th><td>'.$res["name"].'</td></tr>';
$msg.= '<tr><th>Gender</th><td>'.$res["gender"].'</td></tr>';
$msg.= '<tr><th>Date Of Birth</th><td>'.$res["DOB"].'</td></tr>';
$msg.= '<tr><th>Age</th><td>'.$res["age"].'</td></tr>';
$msg.= '<tr><th>Mobile</th><td>'.$res["mobile"].'</td></tr>';
$msg.= '<tr><th>Feedback Group</th><td>'.
$res["Feedback_group"].'</td></tr>';
$msg.= '<tr><th>E-mail</th><td>'.$res["email"].'</td></tr>';
$msg.= '<tr><th>Password</th><td>'.$res["password"].'</td></tr>';
}
$msg.='</table><a href="d welcome user.php">User Panel</a></center>';
?>
<div>
<br>
<br>
<?php
$myfile = fopen("user.txt", "w") or die("Unable to open file!");
fwrite($myfile, $msg);
fclose($myfile);
93 | P a g e
$myfile = fopen("user.txt", "r") or die("Unable to open file!");
echofread($myfile,filesize("user.txt"));
fclose($myfile);
?>
</div>
</body>
</html>
<?php
include 'dfooter.php';
?>
Update Profile –
PHP Code
<?php
include 'dheader.php';
?>
<html>
<head>
<title>View Profile</title>
</head>
<body>
<?php
session_start();
if(!isset($_SESSION['u_name']))
{
header("location: login.php");
}
$conn=mysqli_connect("localhost:3306","root","","SAS_Feedback_bank_management_s
ystem");
$msg = "";
94 | P a g e
$msg.='<center><h3>Your profile details are as follows :-</h3><form action="#"
method="post"><table border="1" cellpadding=5px style="background-
color:skyblue;">';
?>
<?php
$msg.="";
$email=$_SESSION["u_name"];
$query = "select * from rg_form where email= '$email'";
$row = mysqli_query($conn, $query);
while($res=mysqli_fetch_assoc($row))
{
95 | P a g e
$msg.='<tr><td><input type="submit" value="Update Profile"
name=sbmt></td></tr></table></form><a href="d welcome user.php">User
Panel</a></center>';
$a=" ";
$b=" ";
$c=" ";
$d=" ";
$e=" ";
$f=" ";
$g=" ";
$h=" ";
if(isset($_POST['name']))
{
$a=$_POST['name'];
}
if(isset($_POST['gender']))
{
$b=$_POST['gender'];
}
if(isset($_POST['DOB']))
{
$c=$_POST['DOB'];
}
if(isset($_POST['age']))
{
$d=$_POST['age'];
}
if(isset($_POST['mobile']))
{
$e=$_POST['mobile'];
}
if(isset($_POST['Feedback_group']))
96 | P a g e
{
$f=$_POST['Feedback_group'];
}
if(isset($_POST['email']))
{
$g=$_POST['email'];
}
if(isset($_POST['password']))
{
$h=$_POST['password'];
}
$conn=mysqli_connect("localhost:3306","root","","SAS_Feedback_bank_management_s
ystem");
if(isset($_REQUEST["sbmt"]))
{
$sql="update rg_form set
name='$a',gender='$b',DOB='$c',age=$d,mobile=$e,Feedback_group='$f',password='$h'
where email='$g'";
if(mysqli_query($conn,$sql))
{
echo "<script>alert('User Data Update Successfully');</script>";
}
else
{
echo "could not update".mysqli_error($conn);
}
}
mysqli_close($conn);
?>
</html>
<div>
97 | P a g e
<br>
<br>
<?php
$myfile = fopen("user.txt", "w") or die("Unable to open file!");
fwrite($myfile, $msg);
fclose($myfile);
</body>
</html>
<?php
include 'dfooter.php';
?>
Contact Us –
PHP Code
<?php
include 'dheader.php';
?>
<html>
<head>
<title>Request for Feedback</title>
<link rel="stylesheet" type="text/css" href="login/request.css"
</head>
<body>
<div class="request">
<table>
98 | P a g e
<form method="POST" action="d req.php">
<center>
<h1><font face="blue"><b>Urgent need of Feedback</b></font></h1>
<tr>
<td>Name</td>
<td><input type="text" name="name" placeholder="Enter your full name"
required></td>
</tr>
<tr>
<td>Gender</td>
<td><select name="gender">
<option>Male</option>
<option>Female</option>
</select>
</td>
</tr>
<tr>
<td>Age</td>
<td><input type="text" name="age" placeholder="Enter age" required></td>
</tr>
<tr>
<td>Mobile</td>
<td><input type="text" name="mobile" placeholder="Enter your 10 digit mobile
number." required></td>
</tr>
<tr>
<td>Select Feedback Group : </td>
<td>
<select name="Feedback_group">
<option>A+</option>
<option>A-</option>
99 | P a g e
<option>B+</option>
<option>B-</option>
<option>AB+</option>
<option>AB-</option>
<option>O+</option>
<option>O-</option>
</optgroup>
</select>
</td>
</tr>
<tr>
<td>Email</td>
<td><input type="email" name="email" placeholder="Enter your E-mail address."
required></td>
</tr>
<tr>
<td>Till required date</td>
<td><input type="date" name="till_date" required></td>
</tr>
<tr>
<td>Description</td>
<td><textarea name="description" placeholder="Enter discription of required Feedback."
required></textarea></td>
</tr>
<tr>
<td></td>
<td><input type="submit" name="submit" value="Submit"><input type="reset"
value="Reset"></td>
</tr>
<tr>
<td></td>
100 | P a g e
<td><a href="d welcome user.php"><input type="button" value="back to User
Panel"></a></td>
</tr>
</center>
</form>
</table>
</div>
</body>
</html>
<?php
include 'dfooter.php';
?>
function connect()
{
$dbhost="localhost";
$dbuser="root";
$dbpass="";
$dbname="SAS_Feedback_bank_management_system";
# Create Connection
$conn=new mysqli($dbhost,$dbuser,$dbpass,$dbname)
or die($conn->connect_error);
return $conn;
}
$conn=connect();
$name=$conn->real_escape_string($_POST['name']);
$gender=$conn->real_escape_string($_POST['gender']);
$age=$conn->real_escape_string($_POST['age']);
$mobile=$conn->real_escape_string($_POST['mobile']);
101 | P a g e
$Feedback_group=$conn->real_escape_string($_POST['Feedback_group']);
$email=$conn->real_escape_string($_POST['email']);
$till_date=$conn->real_escape_string($_POST['till_date']);
$description=$conn->real_escape_string($_POST['description']);
$query="INSERT into request_form(name, gender, age, mobile, Feedback_group,
email, till_date, description)
VALUES('" .$name . "','" .$gender . "','" .$age . "','" .$mobile . "','" .$Feedback_group .
"','" .$email . "','" .$till_date . "','" .$description . "')";
$success=$conn->query($query);
if(!$success)
{
die("Could not enter data: ".$conn->error);
}
echo "<script> alert('Your request for Feedback has been sent successfully.')</script>";
$conn->close();
?>
<?php
include 'drequest.php';
?>
About –
<?php
include 'dheader.php';
?>
<html>
<head>
<title>Request for Feedback</title>
<link rel="stylesheet" type="text/css" href="login/view request.css">
</head>
<body>
<div class="view">
<table>
102 | P a g e
<form>
<center>
<h1><font face="blue"><b>Your requests for Feedback</b></font></h1>
<tr>
<td></td>
<td><a href="d Welcome user.php"><input type="button" value="back to User
Panel"></a></td>
</tr>
</center>
</form>
</table>
</div>
</body>
</html>
<?php
include 'dfooter.php';
?>
User Logout –
<?php
session_start();
unset($_SESSION['email']);
session_destroy();
header("Location:home.php");
exit;
?>
Admin Login –
103 | P a g e
PHP Code
<DOCTYPE! HTML>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Admin Login</title>
<link rel="stylesheet" href="admin login.css" type="text/css">
</head>
<body background="bg.jpg">
<center>
<div class="login">
<h1><font face="blue">Admin Login</font></h1>
<form action="login.php" method="POST" >
<input type="email" name="admin_id" placeholder="Enter your Email_id"
required><br>
<input type="password" name="password" placeholder="Enter password here"
required><br>
<input type="submit" name="submit" value="Sign-in">
</form>
</div>
</center>
</body>
</html>
<?php
if(isset($_POST["submit"]))
{
$a=$_POST["admin_id"];
104 | P a g e
$b=$_POST["password"];
$conn=mysqli_connect("localhost:3306","root","","sas_Feedback_bank_management_sy
stem");
$retval=mysqli_query($conn,"select * from admin where admin_id='$a' and
password='$b'");
if(mysqli_num_rows($retval)>0)
{
header("location: home.php");
}
else
{
echo "<script> alert('invalid Admin');window.location='index.php';</script>";
}
}
?>
CSS Code
@charset "utf-8";
/* CSS Document */
body
{
font-family:calibri;
margin:0px;
padding:0px;
height:100%;
width:100%;
background-size: cover;
}
.login
{
105 | P a g e
padding:20px;
background-color: rgba(226, 29, 113, 0.504);
color:black;
align-items: center;
width:400px;
height:100%px;
margin-top: 150px;
margin-bottom: 200px;
border-radius:10px;
box-shadow: -0px -0px 10px 10pxrgba(27, 27, 231, 0.459);
}
.login input
{
width:90%;
height:35px;
margin-bottom: 10px;
border-radius: 0px;
}
.login input[type="submit"]
{
border:none;
outline:none;
height:40px;
color:#fff;
font-size:16px;
background:#aa0520;
cursor: pointer;
border-radius: 15px 15px 0px 0px;
}
.login input[type="submit"]:hover
{
106 | P a g e
background:purple;
}
Admin Panel–
PHP Code
<?php
include 'header.php';
?>
<HTML>
<head>
<title>Welcome Admin</title>
</head>
<body>
<center>
<imgsrc="welcome.jpg" width="800px" height="300px" style="margin-
top:50px;">
</center>
</body>
</HTML>
<?php
include 'footer.php';?>
PHP Code
<?php
include 'header.php';
?>
<!DOCTYPE html>
<html>
107 | P a g e
<head>
<title>DB Test</title>
</head>
<body>
<?php
$conn=mysqli_connect("localhost:3306","root","","SAS_Feedback_bank_management_s
ystem");
$msg = "";
$msg.='<center><h3>Update and Delete Data By Admin of User</h3><table border="1"
bgcolor="skyblue">
<tr>
<th>Name</th>
<th>Gender</th>
<th>Date of Birth</th>
<th>Age</th>
<th>Mobile</th>
<th>Feedback Group</th>
<th>email</th>
<th>Password</th>
<th>Confirm Password</th>
<th>update</th>
<th>Delete</th>
</tr>';
?>
<?php
$msg.="";
$query = "select * from rg_form";
$row = mysqli_query($conn, $query);
while($res=mysqli_fetch_assoc($row)){
$msg.= '<tr>';
$msg.= '<td>'.$res["name"].'</td>';
108 | P a g e
$msg.= '<td>'.$res["gender"].'</td>';
$msg.= '<td>'.$res["DOB"].'</td>';
$msg.= '<td>'.$res["age"].'</td>';
$msg.= '<td>'.$res["mobile"].'</td>';
$msg.= '<td>'.$res["Feedback_group"].'</td>';
$msg.= '<td>'.$res["email"].'</td>';
$msg.= '<td>'.$res["password"].'</td>';
$msg.= '<td>'.$res["c_password"].'</td>';
$msg.= '<td><a href="update.php" title="
">update</a></td>';
$msg.= '<td><a href="delete.php" title="
">Delete</a></td>';
$msg.= '</tr>';
}
$msg.='</table><a href="home.php">Cancel</a></center>';
?>
<div>
<br>
<br>
<?php
$myfile = fopen("admin.txt", "w") or die("Unable to open file!");
fwrite($myfile, $msg);
fclose($myfile);
</body>
109 | P a g e
</html>
<?php
include 'footer.php';
?>
View Feedback –
PHP Code
<?php
include 'header.php';
?>
<!DOCTYPE html>
<html>
<head>
<title>DB Test</title>
</head>
<body>
<?php
$conn=mysqli_connect("localhost:3306","root","","SAS_Feedback_bank_management_s
ystem");
$msg = "";
$msg.='<center><h3>All Users Feedback About SAS Feedback Management</h3><table
border="1" bgcolor="skyblue">
<tr>
<th>Name</th>
<th>Email</th>
<th>Subject</th>
<th>Description</th>
</tr>';
?>
<?php
110 | P a g e
$msg.="";
$query = "select * from Contact_us";
$row = mysqli_query($conn, $query);
while($res=mysqli_fetch_assoc($row)){
$msg.= '<tr>';
$msg.= '<td>'.$res["name"].'</td>';
$msg.= '<td>'.$res["email"].'</td>';
$msg.= '<td>'.$res["subject"].'</td>';
$msg.= '<td>'.$res["description"].'</td>';
$msg.= '</tr>';
}
$msg.='</table><a href="home.php">Cancel</a></center>';
?>
<div>
<br>
<br>
<?php
$myfile = fopen("poem.txt", "w") or die("Unable to open file!");
fwrite($myfile, $msg);
fclose($myfile);
</body>
</html>
<?php
include 'footer.php';
111 | P a g e
?>
112 | P a g e
$query = "select * from request_form";
$row = mysqli_query($conn, $query);
while($res=mysqli_fetch_assoc($row)){
$msg.= '<tr>';
$msg.= '<td>'.$res["name"].'</td>';
$msg.= '<td>'.$res["gender"].'</td>';
$msg.= '<td>'.$res["age"].'</td>';
$msg.= '<td>'.$res["mobile"].'</td>';
$msg.= '<td>'.$res["Feedback_group"].'</td>';
$msg.= '<td>'.$res["email"].'</td>';
$msg.= '<td>'.$res["till_date"].'</td>';
$msg.= '<td>'.$res["description"].'</td>';
$msg.= '</tr>';
}
$msg.='</table><a href="home.php">Cancel</a></center>';
?>
<div>
<br>
<br>
<?php
$myfile = fopen("poem.txt", "w") or die("Unable to open file!");
fwrite($myfile, $msg);
fclose($myfile);
Logout –
PHP Code
<?php
session_start();
session_destroy();
header("location: index.php");
?>
114 | P a g e
TESTING METHODOLGY
Testing is a process of executing a program with the intent of finding an error. A good
test case is one that has a high portability of finding an as-yet- undiscovered error. A
successful test is one that uncovers an as- yet- undiscovered error. Testing is vital to the
success of the system. Testing of system makes a logical assumption that if all the parts
of system are correct, the goal will be successfully achieved. The first test of a system is
to see whether it produces the correct output.
Requirements for testing
Hardware Requirements
Software Requirements
Hardware Requirements
This application can run with:-
3.60 GHz or upper version of Processor’s
Minimum 1 GB RAM
Minimum 20 GB of Hard Disk
Network connection
Software Requirements
Various s/w required to run this application, includes:-
Windows XP/NT/7/Vista or upper version of Windows or Unix/Linux
Web Browser like IEbrowser, Google Chrome, Mozilla Firefox browser
MySQL database
115 | P a g e
Testing of a system is generally done in three phases –
1. UNIT TESTING
2. INTEGRATION TESTING
3. SYSTEM TESTING
After completing the Unit testing of all the modules, the whole system is integrated with
all its dependencies in that module. While System Integration, we integrated the modules
one by one and tested the system at each step. This helped in reduction of errors at the
time of the system testing.
3. SYSTEM TESTING:In system testing the software and the other system
elements are tested as a whole. After the completion of system testing successfully, we
can able to delivery of final project.
In higher-order testing (e.g., acceptance testing), the entire system (or a subsystem) is
tested with the focus on testing the functionality or external behavior of system.
Generally, only black box testing is performed at higher levels, while at lower levels
white box testing is also done.
If Black box testing is to be done, by definition, the test cases are selected independently
of the internal structure of the code. In this case, it clearly does not matter whether the
software is object-oriented or function-oriented. All the techniques mentioned earlier for
Black Box testing can be applied to object-oriented systems.
117 | P a g e
an input-output behavior specification. We can test a method of a class using these
approaches. So, for testing methods individually, the control flow-based and data flow-
based structure testing techniques can easily be applied.
TEST REPORT
We have developed three test cases while testing our project. On performing these test
cases we can say that our project has turned out into an efficient, effective and secure
application. These test cases can be described as:-
1. Since it is a network application it comes with a lot of pages, pre and post login so
main security concern is with the security of the pages that come post login.
Anything can be accessed from these pages if we don’t provide proper security to
these pages then these pages can be accessed directly by providing the URL for
the particular page in our browsers. So this application works on sessions if a
session is set the page will be accessed otherwise the user will not be able to
access the page by directly providing the URL of that page. Each time a user
authenticates him/her the user session is created and the pages are accessed... so
we tried to access each and every page that comes post login to check that there is
no security breach.
119 | P a g e
USER/OPERATIONAL MANUAL
Welcome user!
Here’s an introduction to “Online Feedback Management System”…
Online Feedback Management System is aimed to provide an easy way for all the users,
patients and the server administrator to maintain the Feedback and its requirements. It
helps them via providing an easy to access and much simplified way of sending
information and views the donation reports for user and requesting for the Feedback by
the patients and the easy management of information by the admin and also responding to
the urgent seekers of Feedback.
Features list of Online Feedback Management System:
Main Menu
Home
About The Online Feedback Management System
UserRegistration
User Login
Home (User Panel)
View Profile
Update Profile
Give/View Feedback
Logout
Contact Us
Contact us form
Submit information
Admin Panel
Login
Manage User
Manage Feedback
Manage User Profile
View feedback/information received
Manage Contact Us
120 | P a g e
Logout
The proposed Online Feedback Management System helps the people who are in need of
a Feedback by giving them all details of Feedback group availability or regarding the
users with the same Feedback group. Our website work 24x7 so user can get information
of Feedbackuser any time. Feedbackuser can also get registered and save life of other
person. When Feedback is need in the operation then people have very less time to get the
Feedback available so if he gets the information like who can give him Feedback in time
in his city is life-saving.
The admin panel helps to update and delete user information, view feedbacks given by
users/patients, manage the requests received for Feedback requirements.
The user/patient panel helps to view profile, update the profile information in which the
user/patient id that is primary key, cannot be modified again.
This project has an advantage that a user can directly view the website overview without
login, in which the user can search for Feedback group, does it available or not.
121 | P a g e
So, this project is based on the management of Feedback Management in a small and
familiar way that is easy to access, manage and develop.
122 | P a g e
REFERENCES
Books –
1. Beginning PHP and MySQL from Novice to Professional 4th edition - W. Jason
Gilmore
Website Links –
1. www.w3schools.com
2. www.codecademy.com
3. www.tutorialspoint.com
4. www.phptpoint.com
5. www.learn-php.org
Paper Links –
1. www.zend.com
2. www.lu.lv
3. www.ijcsmc.com
123 | P a g e