summaryrefslogtreecommitdiff
path: root/www-ssl/admin/faq.php
diff options
context:
space:
mode:
Diffstat (limited to 'www-ssl/admin/faq.php')
-rwxr-xr-xwww-ssl/admin/faq.php18
1 files changed, 10 insertions, 8 deletions
diff --git a/www-ssl/admin/faq.php b/www-ssl/admin/faq.php
index 1f87ac88..271f6a3f 100755
--- a/www-ssl/admin/faq.php
+++ b/www-ssl/admin/faq.php
@@ -119,14 +119,16 @@ case "save":
"\", AID=\"". $_SESSION['UID']. "\" , Answer=\"". $_GET["Answer"]. "\" ".
"where QID = \"". $_GET["QID"]. "\" LIMIT 1";
$Erg = mysql_query($SQL, $con);
- if ($Erg == 1) {
-?>
- Der Eintrag wurde ge&auml;ndert<br>
-<?php
- } else {
-?>
- Ein Fehler ist aufgetreten. Sorry, du kannst es aber ja nochmal probieren :)
-<?php
+ if ($Erg == 1)
+ {
+
+ echo "Der Eintrag wurde ge&auml;ndert<br>";
+ SetHeaderGo2Back();
+
+ }
+ else
+ {
+ echo "Ein Fehler ist aufgetreten. Sorry, du kannst es aber ja nochmal probieren :)";
}
}
break;