-
Notifications
You must be signed in to change notification settings - Fork 0
/
aqua.php
55 lines (42 loc) 路 1.34 KB
/
aqua.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
<?php
@include 'confige.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ground</title>
<!-- font awesome cdn link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- custom css file link -->
<link rel="stylesheet" href="csss/stile.css">
<link rel="stylesheet" href="csss/styles.css">
</head>
<body>
<?php
$select = mysqli_query($conn, "SELECT * FROM products where type = 'aqua'");
?>
<div class="product-display">
<table class="product-display-table">
<thead>
<tr>
<th>farm image</th>
<th>farm name</th>
<th>disc</th>
</tr>
</thead>
<?php while($row = mysqli_fetch_assoc($select)){ ?>
<tr>
<td><img src="uploaded_img/<?php echo $row['image']; ?>" height="100" alt=""></td>
<td><?php echo $row['name']; ?></td>
<td><?php echo $row['disc']; ?></td>
</tr>
<?php } ?>
</table>
</div>
</div>
</body>
</html>