-
Notifications
You must be signed in to change notification settings - Fork 0
/
shwfeedback.php
54 lines (43 loc) · 1004 Bytes
/
shwfeedback.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
// Start the session
session_start();
?>
<html>
<head>
<title>Customers Feedback</title>
<style>
body {
margin:1rem auto;
padding:1rem;
max-width:38rem;
border-style: double;
}
hr{
size:4;
color: black;
}
/*h1 {color: blue;}
p {color: red;}*/
</style>
</head>
<body style="font-family:normal;">
<a href="index.php" style="font-size:20px;font-family: cursive;color:black;float:left;margin-right: 10px;">Home</a>
<form>
<div class="row" style="margin-right: 10px;">
<center><h3><u>FEEDBACK</u></h3></center>
<hr size="3" color="black">
<?php
$dbhost = "localhost";
$dbuser = "root";
$dbpass = "";
$db ="cv1";
$con = new mysqli($dbhost, $dbuser, $dbpass,$db) or die("Connect failed: %s\n". $con -> error);
$result = mysqli_query($con,"SELECT * FROM fbk");
while($row = mysqli_fetch_array($result))
{
echo "Email id :".$row['email']."<br>Given Feedback is:".$row['msg']."<br>"."<hr>";
}
?>
<hr size="3" color="black">
</div></form>
</body></html>