0% found this document useful (0 votes)
39 views14 pages

WBP MP

Uploaded by

fdj5045
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views14 pages

WBP MP

Uploaded by

fdj5045
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

D.Y.

PATIL TECHNICAL CAMPUS, TALSANDE


FACULTY OF ENGINEERING & FACULTY OF
MANAGEMENT
(Polytechnic)

A Micro project Report On


“Product Feedback System Using PHP”

Submitted By

Enrollment No. Name

2112200014 Kolekar Atharv Milind

Guided By
Miss. Desai M. U.

D.Y.PATIL TECHNICAL CAMPUS, TALSANDE FACULTY OF


ENGINEERING & FACULTY OF MANAGEMENT
(Polytechnic)

DEPARTMENT OF COMPUTER ENGINEERING


SEMESTER VI
CERTIFICATE

This is Certify that student of Computer Engineering has


successfully completed the project term work “Product Feedback System
using PHP” in partial fulfilment of the Diploma of Engineering in Computer
as laid down during academic year 2023-24.

Roll No. Name of Student Exam Seat No.


3201 Kolekar Atharv Milind

Miss. Desai M. U. Mr. Kumbhar R. S.


Project Guide HoD

Dr. S.R. Pawaskar


Principal

Date – / /2024
Place – Talsande
INDEX

Sr No. Title Page no.

1 Introduction 4

2 Project Specification 5

3 Source Code 6 - 10

4 Outputs 11 - 12

5 Conclusion 13

6 References 14
Report on Product Feedback System Using PHP.

Introduction

In the fast-paced landscape of product development and customer satisfaction,


businesses are increasingly recognizing the pivotal role of feedback systems. These systems
serve as vital channels for collecting insights, addressing concerns, and enhancing product
quality. In this report, we delve into the design, development, and implementation of a
Product Feedback System leveraging PHP, a versatile scripting language renowned for its
web development capabilities.
This report aims to provide a comprehensive overview of the Product Feedback
System, detailing its objectives, architecture, functionalities, and the underlying PHP-based
technologies utilized in its construction. Through an in-depth exploration, readers will gain
valuable insights into the significance of feedback mechanisms in fostering customer
engagement, driving product improvements, and ultimately, ensuring long-term business
success.
Furthermore, this report will outline the key features of the PHP-powered Product
Feedback System, highlighting its adaptability, scalability, and efficiency in managing user
feedback across diverse product portfolios. From submission forms to feedback analysis
tools, each component of the system will be scrutinized, shedding light on its role in
facilitating seamless communication between customers and product development teams.

D. Y. Patil Technical Campus, Talsande


Faculty of Engineering & Faculty of Management (Polytechnic) Page 4
Report on Product Feedback System Using PHP.

Project Specification

• Project Details:

01 Project Title Develop a Product Feedback System

Useful to submit product feedback using


02 Purpose
php

03 Front End Languages HTML, CSS, JavaScript

03 Back End Languages PHP, MYSQL

04 Documentation Tools Microsoft Word 2016

05 Browser Supported All

06 Operating System Platform Independent

D. Y. Patil Technical Campus, Talsande


Faculty of Engineering & Faculty of Management (Polytechnic) Page 5
Report on Product Feedback System Using PHP.

Source Code
index.php 
<?php
require "partials/_dbconnect.php";

if($_SERVER['REQUEST_METHOD']=="POST"){
$name=$_POST['name'];
$email=$_POST['email'];
$p_id=$_POST['name'];
$quality=$_POST['quality'];
$review=$_POST['review'];

$sql="INSERT INTO `feedback_review` (`name`, `email`, `p_id`, `quality`, `review`)


VALUES ('$name', '$email', '$p_id', '$quality', '$review');";
$result= mysqli_query($conn,$sql);
if($result=="true"){
$success="Thank you $name,Your Feedback submitted successfully.";
}

?>

<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Product Feedback System</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"

D. Y. Patil Technical Campus, Talsande


Faculty of Engineering & Faculty of Management (Polytechnic) Page 6
Report on Product Feedback System Using PHP.

integrity="sha384-
QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-
YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
</head>

<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Product
Feedback System</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-
target="#navbarNavAltMarkup"
aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle
navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav">
<a class="nav-item nav-link active" href="#">Feedback Form<span class="sr-
only"></span></a>

</div>
</div>
</nav>
<br><br>

<div class="row">
<div class="col-sm-6 m-auto">
<div class="card">

D. Y. Patil Technical Campus, Talsande


Faculty of Engineering & Faculty of Management (Polytechnic) Page 7
Report on Product Feedback System Using PHP.

<div class="card-body">
<?php
if(isset($success)){
echo '
<div class="alert alert-success" role="alert">
<b>Success!</b> '.$success.'
</div>';
}
?>
<h5 class="card-title">Submit your feedback here...</h5>
<hr>
<form method="POST" action="">
<div class="form-group">
<label for="exampleFormControlInput1">Enter Your Name:</label>
<input type="text" name="name" class="form-control"
id="exampleFormControlInput1"
placeholder="name" required>
</div>
<br>
<div class="form-group">
<label for="exampleFormControlInput1">Product ID:</label>
<input type="text" name="p_id" class="form-control"
id="exampleFormControlInput1"
placeholder="XXXX-XXXX-XXXX" reuired>
</div>
<br>
<div class="form-group">
<label for="exampleFormControlInput1">Email address</label>
<input type="email" name="email" class="form-control"
id="exampleFormControlInput1"
placeholder="[email protected]" required>
</div>
<br>

D. Y. Patil Technical Campus, Talsande


Faculty of Engineering & Faculty of Management (Polytechnic) Page 8
Report on Product Feedback System Using PHP.

<div class="form-group">
<label for="exampleFormControlSelect1">Product Quality </label>
<select class="form-control" id="exampleFormControlSelect1"
name="quality" required>
<option value="nothing">-- select --</option>
<option value="Below Average">Below Average</option>
<option value="Average">Average</option>
<option value="Good">Good</option>
<option value="Very Good">Very Good</option>
<option value="Excellent">Excellent</option>
</select>
</div>
<br>
<div class="form-group">
<label for="exampleFormControlTextarea1">Enter Review Here: </label>
<textarea class="form-control" name="review"
id="exampleFormControlTextarea1" rows="3" placeholder="review" required></textarea>
</div>
<br><br>
<input type="reset" class="btn btn-danger">
<input type="submit" class="btn btn-primary">
</form>
</div>

</div>
</div>
</div>
</body>

</html>

D. Y. Patil Technical Campus, Talsande


Faculty of Engineering & Faculty of Management (Polytechnic) Page 9
Report on Product Feedback System Using PHP.

_dbconnect.php 
Used to connect database with the website.

<?php
/*
This file contains database configuration assuming you are running mysql using user "root"
and password ""
*/

define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_NAME', 'feedback');

// Try connecting to the Database


$conn = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME);

//Check the connection


if($conn == false){
dir('Error: Cannot connect');
}

?>

D. Y. Patil Technical Campus, Talsande


Faculty of Engineering & Faculty of Management (Polytechnic) Page 10
Report on Product Feedback System Using PHP.

Outputs

D. Y. Patil Technical Campus, Talsande


Faculty of Engineering & Faculty of Management (Polytechnic) Page 11
Report on Product Feedback System Using PHP.

Database in PHP

D. Y. Patil Technical Campus, Talsande


Faculty of Engineering & Faculty of Management (Polytechnic) Page 12
Report on Product Feedback System Using PHP.

Conclusion

In conclusion, developing a real-time Product Feedback System using PHP offers


numerous benefits for both users and administrators. By providing a platform for users to
share their feedback, suggestions, and concerns, organizations can gather valuable insights to
improve their products or services continuously. The system allows for prompt
communication between users and administrators, fostering transparency and trust.
Through the implementation of a user-friendly interface, robust backend functionality,
and real-time feedback display, PHP empowers developers to create a seamless and efficient
feedback system. Additionally, integrating features such as email notifications and admin
interfaces enhances the system's usability and effectiveness, enabling administrators to
manage feedback effectively and respond promptly to user inquiries.
Overall, a well-designed Product Feedback System not only facilitates feedback
collection but also fosters a collaborative environment where users feel valued and heard. By
leveraging PHP's capabilities, organizations can establish a dynamic feedback loop that
drives continuous improvement and innovation in their products and services.

D. Y. Patil Technical Campus, Talsande


Faculty of Engineering & Faculty of Management (Polytechnic) Page 13
Report on Product Feedback System Using PHP.

References

1. https://www.php.net/
2. https://www.w3schools.com/php/
3. https://chat.openai.com/
4. https://www.tutorialspoint.com/php/index.htm
5. https://www.geeksforgeeks.org/generate-captcha-using-python/
6. https://www.javatpoint.com/php-tutorial

D. Y. Patil Technical Campus, Talsande


Faculty of Engineering & Faculty of Management (Polytechnic) Page 14

You might also like