2005-09-10 19:25:43 +02:00
|
|
|
<?php
|
2011-06-01 12:13:39 +02:00
|
|
|
$title = "Index";
|
|
|
|
$header = "FAQ";
|
|
|
|
include "../../camp2011/includes/header.php";
|
2005-09-10 19:25:43 +02:00
|
|
|
|
2011-06-01 12:13:39 +02:00
|
|
|
$SQL = "SELECT * FROM `FAQ`";
|
|
|
|
$Erg = mysql_query($SQL, $con);
|
2005-09-10 19:25:43 +02:00
|
|
|
|
2011-06-01 12:13:39 +02:00
|
|
|
// anzahl Zeilen
|
|
|
|
$Zeilen = mysql_num_rows($Erg);
|
2005-09-10 19:25:43 +02:00
|
|
|
|
2011-06-01 12:13:39 +02:00
|
|
|
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>";
|
|
|
|
}
|
2005-09-10 19:25:43 +02:00
|
|
|
}
|
|
|
|
|
2011-06-01 12:13:39 +02:00
|
|
|
include "../../camp2011/includes/footer.php";
|
2005-09-10 19:25:43 +02:00
|
|
|
?>
|