Hello everyone
I have a javascript client (ajax) and the xmlhttprequest object POSTs to a file called getQuestion.php
I want to return an xml string. This is what happens.
$xml = simplexml_load_file('example.xml');
echo $xml->asXML();
Now, when I do a direct call to this script (not from client, but putting the url in the browser manually) I get the text from the xml file but not the xml forms. If I view the SOURCE in the browser, there's the XML. But my javascript will NOT receive it for some reason. The xmlhttprequest.responseXML is null. I have no idea why.
Any ideas? Thanks in advance,
Dave