$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 ()); ?>
<title>WecXml.com.cn Train Timetable Web Service instance</title>
|
|
WebXml.com.cn Flight Schedules Web Service instances |
|
|
|
Airlines |
Flight Number |
Departure Airport |
Departure Time |
Arrival Airport |
Arrival Time |
Model |
whether to stop halfway |
Children ()->children () as $child) {?>
Company;?> |
Airlinecode;?> |
Startdrome;?> |
StartTime;?> |
Arrivedrome;?> |
Arrivetime;?> |
Mode;?> |
airlinestop==0) echo ' nonstop '; Else{echo ' Stop ';}?> |
|
http://www.bkjia.com/PHPjc/780969.html www.bkjia.com true http://www.bkjia.com/PHPjc/780969.html techarticle $fromcity,lastcity=> $tocity,thedate=> $date,userid=>); $city = $client->getdomesticcity (); $city = Get_object_vars ($city); $city = $city [Getdomesticcityresult]->any;//print_r ($city);//var_d ...