Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP and XML web services

Status
Not open for further replies.

ehx6

IS-IT--Management
May 20, 2004
150
US
hi, I owuld like to create a PHP page to communicate with two different servers:
Server (1) contain data for Flight information in XML Format
Server (2) contain Hotel information in MySql Database

The process I need to develop is as follow:
a user enter flight information via PHP web page :
--------------------------------
(depart from, departure date, destination , arrival date. No of Passengers )

and enter Hotel information:
------------------------------
Hotel Name, number of people

Once the user click submit. I should be inserting the input data to both servers (flight info in XML format (server 1) and Hotel info in mysql (server2))

Once the insert is done, I should query both servers to get me results based on my input. The reutrn from server 1 will be flight information in xml format , based on the input and the return from server 2 will be hotel information in table format.
The question is how I can combine both return data into a single PHP web page that displays the information and do math calculation( both return will get me prices for each request, so I need to have total price for the travel package.

thanks for your input
Ehx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top