-
Notifications
You must be signed in to change notification settings - Fork 0
/
FAQs Page(customers).php
52 lines (37 loc) · 1.27 KB
/
FAQs Page(customers).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
<!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>FAQ PAGE</title>
<link href="https://fonts.googleapis.com/css2?family=Work+Sans&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/faq-style.css">
<link rel="stylesheet" href="css/homepage.css">
</head>
<body>
<main>
<h1>FAQ'S</h1>
<div class="faq-one">
<?php
require_once "config.php";
$sql = "SELECT * FROM faqs ";
$result = mysqli_query($conn, $sql);
if (mysqli_num_rows($result) > 0) {
while ($row = mysqli_fetch_assoc($result)) {
?>
<!-- faq question -->
<h3 class="faq-page"><?php echo $row['question']; ?></h3>
<!-- faq answer -->
<div class="faq-body">
<p><?php echo $row['answer']; ?>
</p>
</div>
</div>
<hr class="hr-line">
<?php
}}
?>
</main>
</body>
</html>