-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserdetail.php
91 lines (61 loc) · 2.51 KB
/
userdetail.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
include 'dbconnection.php';
$query = "select * from user";
$result = $conn->query($query);
<html>
<head>
<title>Explore Tours</title>
<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">
<link rel="stylesheet" type="text/css" href="css/styles-sandalika.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" />
<link href="https://fonts.googleapis.com/css2?family=Lora&family=Merriweather:wght@300&display=swap" rel="stylesheet">
<script src="js/login.js"></script>
<script>
document.write(Date());
</script>
<style >
body{
background-image:url("img/signinbg.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
</style>
</head>
<body>
<div class="wrapper">
<?php require_once('header.php'); ?>
<div class="sign">
<h1>User Detail</h1>
<table border="0">
<thead>
<tr>
<th>ID</th>
<th>E-Mail</th>
<th>Full Name</th>
<th>Password</th>
</tr>
</thead>
<tbody>
<?php
if ($result->num_rows > 0) {
while ($row = $result->fetch_assoc()) {
?>
<tr>
<td><?php echo $row['id']; ?></td>
<td><input type="text" name="" value="<?php echo $row['mail']; ?>"></td>
<td><input type="text" name="" value="<?php echo $row['ful']; ?>" ></td>
<td><input type="text" name="" value="<?php echo $row['pass']; ?>" ></td>
<?php
}
}
$conn->close();
?>
</tbody>
</table>
</div><!-- sign -->
<?php require_once('footer.php'); ?>
</div><!--wrapper-->
</body>
</html>