$url = 'http://flydata.avinor.no/XmlFeed.asp?'
.'TimeFrom=1&TimeTo=7&airport=OSL&direction=D&'
.'lastUpdate='.date('Y-m-d\T00:00:00');
$sx = simplexml_load_file($url);
foreach($sx->flights->flight as $flight) {
$arr_dep = ($flight->arr_dep == 'D') ? ' til ' : ' fra ';
echo $flight->flight_id . $arr_dep . $flight->airport . "<br />\n";
}
Registrerte brukere: Google [Bot]