Hi, I have a xml content and i need to print it with the xml tags? How to do it? EX: <start> <one> this is one </one> </start> When i put it in the print_r it only displays the content "this is one" ,but i need to print it with the tags.
You need to add the header so that the browsers know what type of content you want to send header ("content-type: text/xml"); print($content); PHP: Should work better