Print xml with php

后端 未结 4 1204
北荒
北荒 2020-12-22 08:53

I have this php code

    \\n\";
    echo \"\\n\";
    echo \"\\t<         


        
4条回答
  •  情深已故
    2020-12-22 09:41

    As the others have said, you need to give the browser a header to let it know how to display the page.

    As for xml functions, have a look at the PHP SimpleXMLElement

提交回复
热议问题