Neuen Engel eintragen »
\n";
if (!isset ($_GET["OrderBy"]))
$_GET["OrderBy"] = "Nick";
$SQL = "SELECT * FROM `User` ORDER BY `" . $_GET["OrderBy"] . "` ASC";
$Erg = sql_query($SQL);
// anzahl zeilen
$Zeilen = mysql_num_rows($Erg);
$html .= "Anzahl Engel: $Zeilen
\n";
$html .= '
Nick | Vorname Name | Alter | Größe | Gekommen | Aktiv | T-Shirt | Registrier | Änd. | |
---|---|---|---|---|---|---|---|---|---|
" . mysql_result($Erg, $n, "Nick") . " | \n"; $html .= "\t" . mysql_result($Erg, $n, "Vorname") . " " . mysql_result($Erg, $n, "Name") . " | \n"; $html .= "\t" . mysql_result($Erg, $n, "Alter") . " | \n"; $html .= "\t";
if (strlen(mysql_result($Erg, $n, "email")) > 0)
$html .= "" .
mysql_result($Erg, $n, "email") . "";
$html .= ' ' . $title . ' ';
$html .= " | \n";
$html .= "\t" . mysql_result($Erg, $n, "Size") . " | \n"; $Gekommen += mysql_result($Erg, $n, "Gekommen"); $html .= "\t" . mysql_result($Erg, $n, "Gekommen") . " | \n"; $Active += mysql_result($Erg, $n, "Aktiv"); $html .= "\t" . mysql_result($Erg, $n, "Aktiv") . " | \n"; $Tshirt += mysql_result($Erg, $n, "Tshirt"); $html .= "\t" . mysql_result($Erg, $n, "Tshirt") . " | \n"; $html .= "" . mysql_result($Erg, $n, "CreateDate") . " | "; $html .= "\t" . 'Edit' . " | \n"; $html .= "
" . " | $Gekommen | $Active | $Tshirt |