forked from ayshagazi/E-Learn-Management-System
-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.php
37 lines (29 loc) · 753 Bytes
/
about.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
<!-- Start Including Header-->
<?php
include('./mainInclude/header.php');
include('./dbConnection.php');
?>
<!-- Start Including Header-->
<!-- Start Course Banner-->
<div class="container-fluid bg dark">
<div class="row">
<img src="./image/coursebanner.jpg" alt="courses" style="height: 500px; width: 100%; object-fit: cover;box-shadow: 10px"/>
</div>
</div>
<!-- End Course Banner-->
<?php
$sql = "SELECT * FROM about";
$result=$conn->query($sql);
if($result->num_rows==1){
$row=$result->fetch_assoc();
$des=$row['des'];
}?>
<h1>About</h1>
<p style="font-size:30px"><?php echo $row ['des']?></p>
<br>
<br><br><br>
<!-- Start Including Footer-->
<?php
include('./mainInclude/footer.php');
?>
<!-- Start Including Footer-->