-->$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 example</title>
|
|
WebXml.com.cn Flight Timetable Web Service example |
|
cncityname== $fromcity) echo ' selected= ' selected '; Echo ' val= '. $ct->cncityname. ' > '. $ct->cncityname. ' '; Echo $ct->encityname; Echo $ct->cncityname; Echo $ct->abbreviation; ?> reach city children ( ->children () as $CT) {echo ' cncityname== $tocity) echo ' selected= ' selected '; Ct->cncityname. ' > '. $ct->cncityname. ' '; Echo $ct->encityname; Echo $ct->cncityname; Echo $ct->abbreviation; }?> switch city |
Date |
|
|
Airlines |
Flight Number |
Departure Airport |
Departure Time |
arrive at the airport |
Arrival Time |
Model |
whether to stop halfway |
-->Children ()->children () as $child) {?>
Company;?> |
Airlinecode;?>. |
Startdrome;?>. |
StartTime;?>. |
Arrivedrome;?>. |
Arrivetime;?>. |
Mode;?> |
airlinestop==0) echo ' non-stop '; Else{echo ' Stop ';}?> |
-->
|