just forgotten to put one single space into the sql statement ...

main
hecht 13 years ago
parent 7c5003abe4
commit 7c59518fb0

@ -40,7 +40,7 @@ function displayHighscore($wahl, $char_name, $user, $char_vorhanden){
if($wahl == 'geld') {
$choice_s = mysql_query('SELECT geld, id FROM user where id >= 2 ORDER BY geld DESC LIMIT 50');
} else {
$sql = 'SELECT c.name, c.level, c.besitzer, c.starke, c.preis, c.speed, c.glueck, c.bild, c.verteidigung, c.ausdauer, c.siege, c.niederlagen, c.id as charid, starke+verteidigung+speed+ausdauer+glueck as powerlevel' .
$sql = 'SELECT c.name, c.level, c.besitzer, c.starke, c.preis, c.speed, c.glueck, c.bild, c.verteidigung, c.ausdauer, c.siege, c.niederlagen, c.id as charid, starke+verteidigung+speed+ausdauer+glueck as powerlevel ' .
'WHERE rasse != \'NPC\' ORDER BY ('.$wahl.') DESC LIMIT 50';
// Uncomment for hp/mp in PL

Loading…
Cancel
Save