diff options
Diffstat (limited to 'www-ssl/admin/tshirt.php')
-rwxr-xr-x | www-ssl/admin/tshirt.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www-ssl/admin/tshirt.php b/www-ssl/admin/tshirt.php index 2e843e92..87dc1c73 100755 --- a/www-ssl/admin/tshirt.php +++ b/www-ssl/admin/tshirt.php @@ -9,7 +9,7 @@ include ("./inc/funktion_user.php"); If (IsSet($_GET["aktiv"])) { - $SQL="Update User set Tshirt=\"1\" where UID=\"". $_GET["aktiv"]. "\" limit 1"; + $SQL="UPDATE `User` SET `Tshirt`='1' WHERE `UID`='". $_GET["aktiv"]. "' limit 1"; $Erg = mysql_query($SQL, $con); if ($Erg == 1) { } else { @@ -25,7 +25,7 @@ Hinter diesem erscheint ein Link, über den man eintragen kann, dass der Eng Liste aller aktiven Engel: <?PHP -$SQL = "SELECT * from User where (Aktiv = 1) ORDER BY Nick ASC"; +$SQL = "SELECT * FROM `User` WHERE (`Aktiv`='1') ORDER BY `Nick` ASC"; $Erg = mysql_query($SQL, $con); $rowcount = mysql_num_rows($Erg); |