<?php // GET parameters $_cid = $_GET['cid']; $_tid = $_GET['tid']; // require getters require 'CompetitionViewer.php'; // Create new competitionviewer $cv = new CompetitionViewer(); $html1 = $cv->getMatchenForTid($_cid, $_tid); // export standen as HTML echo $html1;