diff options
Diffstat (limited to 'www-ssl/inc/funktion_faq.php')
-rwxr-xr-x | www-ssl/inc/funktion_faq.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www-ssl/inc/funktion_faq.php b/www-ssl/inc/funktion_faq.php new file mode 100755 index 00000000..36e3170b --- /dev/null +++ b/www-ssl/inc/funktion_faq.php @@ -0,0 +1,12 @@ +<?PHP + +function noAnswer() { + include ("./inc/db.php"); + + $SQL = "SELECT UID FROM Questions WHERE (Answer=\"\")"; + $Res=mysql_query($SQL, $con); + + return mysql_num_rows($Res); +} + +?> |