Send XML from php server to callback function

Hello,
Im using jquery Ajax get to process form data
The data that needs to be send to the js callback function is an XML
Sadly echo $xmldata is not working

My take:
In file scripts
[php]
$(document).ready(function(){

$.post(‘formhancle.php’, formdata, process)
Return false;

});
[/php]
formhandle.php
[php]Some code…
$XML =get ml();
Echo $XML;
[/php]
Callback function not responding and I get weird output to the screen.
Thanks a lot
Roy

Might be able to help if we could see the more of the associated code and the error. Thanks.

Sponsor our Newsletter | Privacy Policy | Terms of Service