".Get_Text(37)."

\n".nl2br($_POST["frage"])."

\n".Get_Text(38)."
\n"; $SQL = "INSERT into Questions VALUES (\"\", \"".$_SESSION['UID']."\", \"". $_POST["frage"]. "\", \"\", \"\")"; $Erg = mysql_query($SQL, $con); } // Bisherige Anfragen: echo "
\n".Get_Text(39)."
\n"; echo "
\n"; echo "
".Get_Text(40)."
\n"; $SQL = "SELECT * from Questions where UID = ".$_SESSION['UID']." and AID=\"0\" ORDER BY 'QID' DESC"; $Erg = mysql_query($SQL, $con); // anzahl zeilen $Zeilen = mysql_num_rows($Erg); if ($Zeilen==0){ Print_Text(41); } else { for ($n = 0 ; $n < $Zeilen ; $n++) { echo "

".nl2br(mysql_result($Erg, $n, "Question"))."
\n"; // Es gibt ja noch keine Antwort: // echo "

".nl2br(mysql_result($Erg, $n, "Answer"))."

\n"; echo "\n
---
"; } } echo "
\n"; echo "
".Get_Text(42)."
\n"; $SQL = "SELECT * from Questions where UID = ".$_SESSION['UID']." and AID<>\"0\" ORDER BY 'QID' DESC"; $Erg = mysql_query($SQL, $con); // anzahl zeilen $Zeilen = mysql_num_rows($Erg); if ($Zeilen==0){ Print_Text(41); } else { for ($n = 0 ; $n < $Zeilen ; $n++) { echo "

".nl2br(mysql_result($Erg, $n, "Question"))."
\n"; echo "

".nl2br(mysql_result($Erg, $n, "Answer"))."\n"; echo "\n
---
"; } } include ("./inc/footer.php"); ?>