当前位置:Gxlcms > PHP教程 > phpwebservice接口实例机票航班时刻表_PHP教程

phpwebservice接口实例机票航班时刻表_PHP教程

时间:2021-07-01 10:21:17 帮助过:35人阅读

$fromcity,
'lastCity'=>$tocity,
'theDate'=>$date,
'userID'=>''
);




$city=$client->getDomesticCity();
$city=get_object_vars($city);  
$city=$city['getDomesticCityResult']->any;

//print_r($city);
//var_dump($city);
$city_xml = simplexml_load_string($city); 





$result=$client->getDomesticAirlinesTime($parm);
$result=get_object_vars($result);  
$result=$result['getDomesticAirlinesTimeResult']->any;
//print_r($result['getDomesticAirlinesTimeResult']->any);


$obj_xml = simplexml_load_string($result);  
//print_r($obj_xml->children()->children());   
?>




WecXml.com.cn 火车时刻表 Web Service 实例






  
 
WebXml Logo
WebXml.com.cn 航班时刻表 Web Service 实例
 
 
children()->children() as $child) { ?>
航空公司 航班编号 出发机场 出发时间 到达机场 到达时间 机型 中途是否停
Company; ?> AirlineCode; ?> StartDrome; ?> StartTime; ?> ArriveDrome; ?> ArriveTime; ?> Mode; ?> AirlineStop==0) echo '不停';else{echo '停';} ?>

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/780969.htmlTechArticle$fromcity,lastCity=>$tocity,theDate=>$date,userID=>);$city=$client->getDomesticCity();$city=get_object_vars($city); $city=$city[getDomesticCityResult]->any;//print_r($city);//var_d...

人气教程排行