diff --git a/Showing-the-pairings-of-a-specific-round.md b/Showing-the-pairings-of-a-specific-round.md index 9297de0..7362aab 100644 --- a/Showing-the-pairings-of-a-specific-round.md +++ b/Showing-the-pairings-of-a-specific-round.md @@ -10,11 +10,12 @@ When you have the round object you can the `Round::GetPairings()` method to get ````php getTournament(); +$reader = IOFactory::createReader('Pairtwo-6'); +$reader->read('mycompetition.sws'); +$tournament = $reader->getTournament(); $pairings = $tournament->getRoundByNo($_GET['round'])->getPairings(); foreach($pairings as $pairing) {