in der datei müsste es sowas wie
PHP-Code:
$platz = db_query("SELECT * FROM ".$db_prefix."_tbettelrally ORDER BY punkte DESC LIMIT 20");
while ($pa = mysql_fetch_array($platz)) {
$userdaten = mysql_fetch_array(db_query("SELECT nickname FROM ".$db_prefix."_userdaten WHERE uid=".$pa['uid']." LIMIT 1"));
$rp++;
if ($ralleydaten['art'] == 'statisch') {
geben
schreib mal in die zeile vor
rein
so:
PHP-Code:
$platz = db_query("SELECT * FROM ".$db_prefix."_tbettelrally ORDER BY punkte DESC LIMIT 20");
$rp=0;
while ($pa = mysql_fetch_array($platz)) {
$userdaten = mysql_fetch_array(db_query("SELECT nickname FROM ".$db_prefix."_userdaten WHERE uid=".$pa['uid']." LIMIT 1"));
$rp++;
if ($ralleydaten['art'] == 'statisch') {