summaryrefslogtreecommitdiff
path: root/www-ssl/faq.php
blob: 472915e58fc7c7613163e6289933aad6fe28ae86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
require_once ('bootstrap.php');

$title = "FAQ";
$header = "FAQ";
include "includes/header.php";

$SQL = "SELECT * FROM `FAQ`";
$Erg = mysql_query($SQL, $con);

// anzahl Zeilen
$Zeilen = mysql_num_rows($Erg);

for ($n = 0; $n < $Zeilen; $n++) {
	if (mysql_result($Erg, $n, "Antwort") != "") {
		echo "<dl>";
		echo "<dt>" . mysql_result($Erg, $n, "Frage") . "</dt>";
		echo "<dd>" . mysql_result($Erg, $n, "Antwort") . "</dd>";
		echo "</dl>";
	}
}

include "includes/footer.php";
?>