-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrejected.php
62 lines (62 loc) · 2.64 KB
/
rejected.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
60
61
62
<?php
include 'conn.php';
?>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<title>Landing Page</title>
<?php include 'style.css' ;?>
</head>
<body>
<!--Navbar-->
<div>
<?php include 'Navbar2.php';?>
</div>
<div class="container">
<br> <br>
<h1 style="text-align:center">Dashboard </h1>
<h2> Rejected </h2>
<hr>
<br>
<table class="table">
<thead>
<tr>
<th scope="col">S.No</th>
<th scope="col">Name </th>
<th scope="col">E-mail</th>
<th scope="col">Mobile</th>
<th scope="col"> Update </th>
<th scope="col"> Delete </th>
</tr>
</thead>
<?php
$q = " SELECT * FROM `rejected` ";
$result = mysqli_query($con, $q);
$counter =0;
while($row = mysqli_fetch_assoc($result)){
?>
<tbody>
<tr>
<th scope="row"><?php echo ++$counter; ?> </th>
<td><?php echo $row['name'] ?></td>
<td><?php echo $row['Email'] ?></td>
<td><?php echo $row['Mobile'] ?></td>
<td><a href="rejected1.php?Mobile= <?php echo $row['Mobile'];?>" class="btn btn-success " role="button" >Update</a></td>
<td><a href="rejected2.php?Mobile= <?php echo $row['Mobile'];?>" class="btn btn-danger " role="button" >Delete</a></td>
</tr>
</tbody>
<?php } ?>
</table>
</div>
<br> <br>
<!-- Option 1: jQuery and Bootstrap Bundle (includes Popper) -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script>
</body>
</html>