for($a = $row[0]; $a > 0; $a--) { echo "<li><a href=\"site.php?competitie=".$_GET['competitie']."&ronde=".$a."\">Ronde ".$a."</a>"; } ?> </ul> </div> <div id="ranglijst"> <? if($_GET['action'] == "xref") $competitie->xref($_GET['competitie']); elseif($_GET['action'] == "spelers") { $spelers = $competitie->spelers($_GET['competitie']); echo "<TABLE>"; echo "<TR class=\"eerste_rij\"><TD>KNSB<TD>Naam"; foreach($spelers as $speler) echo "<TR><TD>".$speler["knsb"]."<TD>".$speler["naam"]; echo "</TABLE>"; } elseif($_GET['action'] == "speler") { } else { //STAND PRINTEN $result = $competitie->partijen((int)$_GET['competitie'],(int)$_GET['ronde']); echo "<TABLE>";