php_MICROPROJECT
php_MICROPROJECT
“COMPLAINT PORTAL”
Submitted by
Affiliated to
Maharashtra State
Board of Technical Education
Academic Year 2024-25
Maharashtra State
Certificate
This is to certify that Mr./Ms. Ridafatema Faisal Patel with Roll No- 54 has successfully
completed Micro- project in course Web Based Application Development Using PHP (22619) for
the academic year 2024-25 as prescribed in the 'Assessment Manual' during his/her tenure of
completing Sixth Semester of Diploma Program in Information Technology from institute, Sandip
Polytechnic with institute code 1167.
Certificate
This is to certify that Mr./Ms. Sahil Shamshad Khan with Roll No- 56 has successfully
completed Micro- project in course Web Based Application Development Using PHP (22619) for
the academic year 2024-25 as prescribed in the 'Assessment Manual' during his/her tenure of
completing Sixth Semester of Diploma Program in Information Technology from institute, Sandip
Polytechnic with institute code 1167.
Certificate
This is to certify that Mr./Ms. Saipriya Hemant Khedlekar with Roll No- 43 has successfully
completed Micro- project in course Web Based Application Development Using PHP (22619) for
the academic year 2024-25 as prescribed in the 'Assessment Manual' during his/her tenure of
completing Sixth Semester of Diploma Program in Information Technology from institute, Sandip
Polytechnic with institute code 1167.
Certificate
This is to certify that Mr./Ms. Snehal Valmik Ghaywat with Roll No- 30 has successfully
completed Micro- project in course Web Based Application Development Using PHP (22619) for
the academic year 2024-25 as prescribed in the 'Assessment Manual' during his/her tenure of
completing Sixth Semester of Diploma Program in Information Technology from institute, Sandip
Polytechnic with institute code 1167.
“COMPLAINT PORTAL”
1.0 Aims/Benefits of the Micro-Project:
The aim of this microproject is to develop a simple and user-friendly web- based complaint portal using
PHP, MySQL, HTML, and CSS. It alllows users to submit complaints and suggestions easily, promoting
digital communication and saving time. The project helps in understanding backend and frontend
integration using XAMPP and enhances practical knowledgeof database operations. It offers centralized
data management and can be customized for various institutions. Overall , it improves web development
skills and provides hands- on experience with real- world applications.
main.php :
<?php
include "configure.php";
?>
<?php if(isset($_POST['Submit']))
{
extract($_POST);
$add="insert into complaint(Name,Address,Phone,Mail,Sub,Descr,City,State)
values('$name','$address','$mobileno','$email','$sub','$desc','$city','$state')";
$result=mysqli_query($connect,$add) or die(mysqli_error($connect));
if($result)
{
echo "<script>";
echo "alert('Inserted Successful');";
echo "windows.localhost.href='Feedback.php';";
echo "</script>";
}
else
{
echo "<script>";
echo "alert('Inserted Successful');";
echo "windows.localhost.href='Feedback.php';";
echo "</script>";
}
}
?>
<html>
<head>
<title> COMPLAINT PORTAL </title>
<link rel="stylesheet" href="./CSS/main.css">
</head>
<body>
<form method="post">
<div id="blockk">
<br><br>
<h1> COMPLAINT PORTAL </h1>
<br><br>
NAME : <input id="i1" type="text" name="name" id="name"/><br><br>
ADDRESS : <input id="i2" type="text" name="address" id="address"/><br><br>
MOBILE NO : <input id="i3" type="text" name="mobileno"
id="mobileno"/><br><br> EMAIL ID : <input id="i4" type="text" name="email"
id="email"/><br><br> SUBJECT : <input id="i5" type="text" name="sub"
id="sub"/><br><br> DESCRIPTION : <input id="i6" type="text" name="desc"
id="desc"/><br><br>
CITY : <input id="i7" type="text" name="city" id="city"/><br><br>
STATE : <input id="i8" type="text" name="state" id="state"/><br><br>
<input id="btn" type="submit" name="Submit" value="Submit"/>
</div>
</form>
</body>
</html>
confiure.php :
<?php
$connect = mysqli_connect("localhost","root","","Micro") or die($connect);
if($connect)
{
echo "";
}
else {
echo "Error";
}
?>
main.css :
#blockk{ widt #btn{
h: 60%; margin-left: 20%;
height: 80%; width: 150px !important;
background-color: rgb(220, 236, 250); height: 7%;
margin-left: 9%; background-color: green;
margin-top: 5%; color: white;
border-radius: 10px; border-radius: 2px;
padding: 2%; border-color:
padding-left: 22%; green;
} }
input{ #btn:hover{
width: 300px; border-color: gold;
}
}
input:hover{
border-color: blue;
}
#i1{
margin-left: 8%;
}
#i2{
margin-left: 5%;
}
#i3{
margin-left: 3%;
}
#i4{
margin-left: 5%;
}
#i5{
margin-left: 5.5%;
}
#i6{
margin-left: 1%;
}
#i7{
margin-left: 9.5%;
}
#i8{
margin-left: 8%;
}
h1{
margin-left: 6%;
}
OUTPUT :
7.0 Skill Developed:
The project helped me to develop skils in HTML, CSS, PHP, and MySQL.
I learned to handle form data, manage a database, and use XAMPP for local hosting.
It also improved my debugging and basic project management abilities.
Sheet
Name of Student: Ridafatema Faisal Patel Enrollment No: 2211670229
Name of Program: Information Technology Semester: VI
Course Title: Web Based Application Development Course Code: 22619
Using PHP
Title of Micro Project: Complaint Portal
Sheet
Name of Student: Sahil Shamshad Khan Enrollment No: 2211670379
Name of Program: Information Technology Semester: VI
Course Title: Web Based Application Development Course Code: 22619
Using PHP
Title of Micro Project: Complaint Portal
Sheet
Name of Student: Saipriya Hemant Khedlekar Enrollment No: 2211670212
Name of Program: Information Technology Semester: VI
Course Title: Web Based Application Development Course Code: 22619
Using PHP
Title of Micro Project: Complaint Portal
Sheet
Name of Student: Snehal Valmik Ghaywat Enrollment No: 2211670196
Name of Program: Information Technology Semester: VI
Course Title: Web Based Application Development Course Code: 22619
Using PHP
Title of Micro Project: Complaint Portal