I'm working on a reservation system which relies heavily on XML. I need to create a PHP form which will send the info to a remote script via a normal POST in the form of XML but in a textarea. This is not a problem.

The problem is that the remote script will then send a reply back in the form of another XML. How can I write the script that will send the information and wait for the reply in the same page without having to reload server side?