-
Notifications
You must be signed in to change notification settings - Fork 3
/
status.php
executable file
·40 lines (36 loc) · 1.75 KB
/
status.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
<?php
session_start();
include 'db.php';
include 'agentheader.php';
$m1id=$_GET['mid'];
?>
<html>
<head>
<link href="style.css" rel="stylesheet">
</head>
<body>
<div id="shead">Work Status</div>
<div id="divf">
<?php
$n=1;
$result=mysqli_query($conn,"SELECT * FROM admin_request where uid=".$m1id);
while($row = mysqli_fetch_array($conn,$result))
{ ?>
Name : <?=$row['name']?><br>
Email : <?=$row['email']?><br>
Phone : <?=$row['phone']?><br>
Address : <?=$row['address']?><br>
Food Quantity : <?=$row['food']?><br>
Message : <?=$row['message']?><br>
status : <?=$row['status']?><br>
<div id="stbut"><a href="status_ok.php?usernam=<?=$row['name'] ?>">Ok</a>
<a href="status_cancel.php?usernam=<?php echo $row['name']; ?>">Cancel</a></div>
<?php
//echo "<pre>";
//print_r($row);
}?>
</div>
</div>
</div>
</body>
</html>