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
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