Print xml with php

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

I have this php code

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


        
4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-22 09:26

    you have to put header (to let the browser know how to render the display):

    header ("Content-Type:text/xml");
    

提交回复
热议问题