summaryrefslogtreecommitdiff
path: root/includes/pages/guest_faq.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/pages/guest_faq.php')
-rw-r--r--includes/pages/guest_faq.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/includes/pages/guest_faq.php b/includes/pages/guest_faq.php
index 6b5eeeeb..48e75d16 100644
--- a/includes/pages/guest_faq.php
+++ b/includes/pages/guest_faq.php
@@ -18,4 +18,13 @@ function guest_faq() {
}
return $html;
}
+
+function noAnswer() {
+ global $con;
+
+ $SQL = "SELECT UID FROM Questions WHERE `AID`='0'";
+ $Res = mysql_query($SQL, $con);
+
+ return mysql_num_rows($Res);
+}
?>