-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwhy_donate_blood.php
56 lines (46 loc) · 1.6 KB
/
why_donate_blood.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
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</head>
<body>
<?php
$active ='why';
include('head.php');
?>
<div id="page-container" style="margin-top:50px; position: relative;min-height: 84vh;">
<div class="container">
<div id="content-wrap" style="padding-bottom:50px;">
<div class="row">
<div class="col-lg-6">
<h1 class="mt-4 mb-3">Why Should I Donate Blood ? </h1>
<p>
<?php
include 'conn.php';
$sql=$sql= "select * from pages where page_type='donor'";
$result=mysqli_query($conn,$sql);
if(mysqli_num_rows($result)>0) {
while($row = mysqli_fetch_assoc($result)) {
echo $row['page_data'];
}
}
?>
</p>
</div>
<div class="col-lg-6">
<img class="img-fluid rounded" src="image\08f2fccc45d2564f74ead4a6d5086871.png" style="height:600px; width:500px" alt="error" >
</div>
</div>
</div>
</div>
<?php include('footer.php')
?>
</div>
</body>
</html>