-
Notifications
You must be signed in to change notification settings - Fork 0
/
view_adminmessage.php
executable file
·45 lines (43 loc) · 911 Bytes
/
view_adminmessage.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
<?php
include 'db.php';
?>
<html>
<head>
<link href="style.css" rel="stylesheet">
</head>
<body>
<div id="head"></div>
<div id="menu">
<a href="viewadmin_message.php">View Message</a>
<a href="send_message.php">Send Message</a>
<a href="logout.php">Logout</a>
</div>
<div id="divf"><h2>Donator Requset Details</h2>
<table border=2>
<th>S.NO</th>
<th>Name</th>
<th>Email</th>
<th>Phone</th>
<th>Address</th>
<th>Message</th>
<?php
$n=1;
$result=mysqli_query($conn,"SELECT * FROM admin_request");
while($row = mysqli_fetch_array($conn,$result))
{ ?>
<tr>
<td><?=$n++?></td>
<td><?=$row['name']?></td>
<td><?=$row['email']?></td>
<td><?=$row['phone']?></td>
<td><?=$row['address']?></td>
<td><?=$row['message']?></td>
<?php
//echo "<pre>";
//print_r($row);
}?>
</tr>
</table>
</div>
</body>
</html>