enable soap!
This produces a table of goal scorers…
 0 && (int) $_POST['topn'] <= 20){
  $topn = (int) $_POST['topn'];
  $client = new SoapClient("http://footballpool.dataaccess.eu/data/info.wso?wsdl");
  $result = $client->TopGoalScorers(array('iTopN' => $topn));
  // Note that $array contains the result of the traversed object structure
  $array = $result->TopGoalScorersResult->tTopGoalScorer;
print "
| Rank | Name | Goals | 
|---|---|---|
| " . ($k+1) . " | " . $v->sName . " | " . $v->iGoals . " | 
";
}
else {
?>
								
								
															










