sifar786 Posted July 30, 2009 Share Posted July 30, 2009 Hi,problem with the Ajax PHP ResponseXML tutorial....nothing getting displayed...Actually, the reason why nothing is displayed is because you have not instructed PHP to output the data as text/xml, rather it is still outputting it as text/html.So inclusion of a header like this just before the while loop executes solves the problem... header("Content-type:text/xml");echo "<?xml version='1.0' encoding='ISO-8859-1'?>"; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.