-
Notifications
You must be signed in to change notification settings - Fork 11
/
feedback.php
59 lines (57 loc) · 1.12 KB
/
feedback.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
53
54
55
56
57
58
59
<?php
include_once 'include/admin_header.php';
$sel="select * from feedback";
$qr=mysqli_query($con,$sel);
?>
<table class="table">
<th class="th bk_th">
Feedbacks
</th>
</table>
<center>
<table class="fd_table" >
<tr>
<?php while($r = mysqli_fetch_assoc($qr))
{
$name=$r['name'];
$emv=$r['email'];
$subject=$r['subject'];
$msg=$r['message'];
$img="select * from register where email='$emv'";
$rr=mysqli_query($con,$img);
$img=mysqli_fetch_assoc($rr);
$i=$img['img'];
?>
<td width="49px">
<?php
if ($img['img'] == '')
{
echo "<center> <img src='../logos/log.png' class='logo_fed'> </center>";
}
else
{
echo "<center><img src='../profile/$i' class='logo_fed'></center>";
}
?>
</td>
<td>
<p class="fb_up"><?php echo $name; ?></p><br>
</td>
</tr>
<tr>
<td colspan="2">
<p class="fb_up_msg">
<?php
echo $msg;
?>
</p>
<hr class="hr5">
</td>
</tr>
<?php } ?>
</table>
<a href="index.php"><button class="book_btn">Home</button></a>
</center>
<?php
include_once 'include/a_footer.php';
?>