Team id's opvragen per club
<?php
include("class.nbb.php");
include("class.team.php");
$clb_ID = 99;
$teams = new Team( $clb_ID );
$lijst = $teams->overzicht();
#$xml = $teams->xml();
#print "raw xml:\n$xml\n\n";
#print_r($lijst);
foreach ($lijst as $id => $team) {
print "scm_ID : $id\n";
print "Naam : " . $team['naam'] ."\n";
print "Afkorting: " . $team['afkorting'] ."\n";
print "Team id: " . $team['team_id'] ."\n";
print "Club id: " . $team['club_id'] ."\n";
print "Sportlink: " . $team['sportlink'] ."\n";
print "Logo: " . $team['logo'] ."\n";
print "Competitie: " . $team['competitie'] ."\n";
print "Competitie id: " . $team['comp_id'] ."\n";
print "Competitie nr: " . $team['comp_nr'] ."\n";
print "organisatie id: " . $team['org_id'] ."\n";
}
?>