diff options
author | Moritz helios Rudert <helios@planetcyborg.de> | 2011-06-01 12:13:39 +0200 |
---|---|---|
committer | Moritz helios Rudert <helios@planetcyborg.de> | 2011-06-01 12:13:39 +0200 |
commit | 75448045cfe70054c8f4bae1bcfaf9bb0f70d330 (patch) | |
tree | 6a4d3d35019cdf933c1816e8522dc5d2557f5238 /includes/funktion_faq.php | |
parent | 12e0b0d809c29d435a247798d7318cc9835980ea (diff) |
fixes
Diffstat (limited to 'includes/funktion_faq.php')
-rw-r--r--[-rwxr-xr-x] | includes/funktion_faq.php | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/includes/funktion_faq.php b/includes/funktion_faq.php index 641ea38d..e9f09e7c 100755..100644 --- a/includes/funktion_faq.php +++ b/includes/funktion_faq.php @@ -1,12 +1,10 @@ -<?PHP +<?php + function noAnswer() { + global $con; -function noAnswer() { - global $con; - - $SQL = "SELECT UID FROM Questions WHERE `AID`='0'"; - $Res=mysql_query($SQL, $con); - - return mysql_num_rows($Res); -} + $SQL = "SELECT UID FROM Questions WHERE `AID`='0'"; + $Res = mysql_query($SQL, $con); + return mysql_num_rows($Res); + } ?> |