2005-09-10 19:25:43 +02:00
|
|
|
<?PHP
|
|
|
|
|
|
|
|
$title = "Debug-Liste";
|
|
|
|
$header = "Datenbank-Auszug";
|
|
|
|
include ("./inc/header.php");
|
|
|
|
include ("./inc/funktion_db_list.php");
|
|
|
|
|
2005-12-19 00:18:24 +01:00
|
|
|
echo "<h1>Web Counter</h1>";
|
2005-11-17 01:18:04 +01:00
|
|
|
funktion_db_list("Counter");
|
2005-09-10 19:25:43 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
echo "<h1>Raeume</h1> <br>";
|
|
|
|
funktion_db_list("Raeume");
|
|
|
|
|
|
|
|
echo "<h1>Schichtbelegung</h1> <br>";
|
|
|
|
funktion_db_list("Schichtbelegung");
|
|
|
|
|
|
|
|
echo "<h1>Schichtplan</h1> <br>Hier findest du alle bisher eingetragenen Schichten:";
|
|
|
|
funktion_db_list("Schichtplan");
|
|
|
|
|
|
|
|
echo "<h1>User</h1> <br>";
|
|
|
|
funktion_db_list("User");
|
|
|
|
|
|
|
|
echo "<h1>News</h1> <br>";
|
|
|
|
funktion_db_list("News");
|
|
|
|
|
|
|
|
echo "<h1>FAQ</h1> <br>";
|
|
|
|
funktion_db_list("FAQ");
|
|
|
|
|
|
|
|
echo "Deaktiviert";
|
2005-11-17 01:18:04 +01:00
|
|
|
*/
|
2005-09-10 19:25:43 +02:00
|
|
|
|
2005-12-19 00:18:24 +01:00
|
|
|
|
|
|
|
echo "<h1>Tshirt-Size</h1>";
|
2006-12-04 20:54:51 +01:00
|
|
|
$SQL="SELECT `Size`, COUNT(`Size`) FROM `User` GROUP BY `Size`";
|
2005-12-19 00:18:24 +01:00
|
|
|
$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). "'<br>\n";
|
|
|
|
|
|
|
|
|
2005-09-10 19:25:43 +02:00
|
|
|
include ("./inc/footer.php");
|
|
|
|
?>
|
|
|
|
|