-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathview.php
More file actions
47 lines (45 loc) · 1.04 KB
/
Copy pathview.php
File metadata and controls
47 lines (45 loc) · 1.04 KB
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
<?php include "config.php"; ?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="./styles/notice_style.css">
<link rel="stylesheet" href="./styles/style.css">
<link rel="stylesheet" href="./styles/styles.css">
<link rel="stylesheet" href="./styles/styles_animation.css">
<title>View</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
min-height: 100vh;
}
.alb {
width: 200px;
height: 200px;
padding: 5px;
}
.alb img {
width: 100%;
height: 100%;
}
a {
text-decoration: none;
color: black;
}
</style>
</head>
<body>
<a href="patient-dashboard.php">←</a>
<?php
$sql = "SELECT * FROM aadhar_no INNER JOIN documents ON aadhar_no.id=documents.id;
$res = mysqli_query($conn, $sql);
if (mysqli_num_rows($res) > 0) {
while ($images = mysqli_fetch_assoc($res)) { ?>
<div class="alb">
<img src="uploads/<?=$documents['aadhar_no']?>">
</div>
<?php } } ?>
</body>
</html>