diff options
author | Philip Häusler <msquare@notrademark.de> | 2011-06-02 01:18:08 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2011-06-02 01:18:08 +0200 |
commit | 06497b3a5387f30ea140562cc71e371b2ec1e131 (patch) | |
tree | 8fc4fad2a21fb20ff233d4acf33c91590a814301 /includes/pages | |
parent | 10683c4759c2c3563ff7ed48b15d12e85cd0631b (diff) |
cleanup
Diffstat (limited to 'includes/pages')
-rw-r--r-- | includes/pages/guest_faq.php | 9 |
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); +} ?> |