-
Notifications
You must be signed in to change notification settings - Fork 0
/
mailed_table.php
48 lines (45 loc) · 1.09 KB
/
mailed_table.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
<?php
session_start();
ob_start();
include_once 'db.php';
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="asset/css/bootstrap.css">
</head>
<body>
<table class="table ">
<thead class="thead-dark">
<tr>
<th> #</th>
<th>Email-id</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<?php
$sql = "select * from receiver where flag=1";
$result = $mysqli->query($sql);
while ($row = $result->fetch_assoc()) {
?>
<tr>
<td><?php echo $row['id']?></td>
<td><?php echo $row['email_id']?></td>
<td><?php echo $row['date']?></td>
</tr>
<?php
}
?>
</tbody>
</table>
</body>
<script src="asset/js/popper.js"></script>
<script src="asset/js/jquery.js"></script>
<script src="asset/js/bootstrap.min.js"></script>
</html>