Highscores:"; echo ""; for($i = 0; $i < 10; $i++) { for($j = 0; $j < $counter; $j++) { if($scores[$j] > $scores[$topScore]) { $topScore = $j; } } if($scores[$topScore] > 0) { echo ""; $scores[$topScore] = 0; } } echo "
#"; echo $i + 1; echo "."; echo $names[$topScore]; echo ""; echo $scores[$topScore]; echo "
"; echo "

Go back" echo "Go back to main page" ?>