I am creating an application with JQuery as the UI. The current, what I have now is using simple xml as the Select Menu options.
http://www.globalvirtualairlines.com/MyPages/jquerytestingapp.php
What I am wanting to do is, when the user selects the Hub they want, use simple xml to get the data for that hub.
The xml file I am getting from is http://www.vafinancials.com/web/hubs_xml.php?id=18686
They do have Hub Id's but I am unsure of how to distribute out the data when the user chooses a hub.
I am using this.... for Simple_Xml
<?php if($xml === false)
{
echo "There was an error opening the xml file.";
exit;
}
else
{
foreach($xml as $hubname)
{
echo "<option value='option_Hubname'>" . $hubname->name . "</option>";
}
}
?>
That is for the options. But for the data for each hub I am guessing I will have to use a different simple xml method?
I need some help.. .. .. Thanks in advance.