From 31f79eea2704ac65f6f95bb9bd9a3d00cd8f5929 Mon Sep 17 00:00:00 2001 From: cookie Date: Sun, 18 Dec 2005 23:18:24 +0000 Subject: add functions in engelliste bugfix news git-svn-id: svn://svn.cccv.de/engel-system@103 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/admin/debug.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'www-ssl/admin/debug.php') diff --git a/www-ssl/admin/debug.php b/www-ssl/admin/debug.php index 917e4a32..aaf1bcb4 100755 --- a/www-ssl/admin/debug.php +++ b/www-ssl/admin/debug.php @@ -5,7 +5,7 @@ $header = "Datenbank-Auszug"; include ("./inc/header.php"); include ("./inc/funktion_db_list.php"); -echo "

Counter


"; +echo "

Web Counter

"; funktion_db_list("Counter"); /* @@ -30,6 +30,17 @@ funktion_db_list("FAQ"); echo "Deaktiviert"; */ + +echo "

Tshirt-Size

"; +$SQL="SELECT `Size`, COUNT(`Size`) FROM User GROUP BY `Size`"; +$Erg = mysql_query($SQL, $con); +echo mysql_error($con); +$rowcount = mysql_num_rows($Erg); + +for ($i=0; $i<$rowcount; $i++) + echo mysql_result($Erg, $i, 1). "x '". mysql_result($Erg, $i, 0). "'
\n"; + + include ("./inc/footer.php"); ?> -- cgit v1.2.3-54-g00ecf