猿问

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

This page contains the following errors:

error on line 8 at column 8: Extra content at the end of the document

Below is a rendering of the page up to the first error.


慕盖茨206890
浏览 1274回答 1
1回答

书旅

谢邀,首先在这行代码之前不要有任何输出,然后你把你这行代码改成:header("Content-Type:text/xml;charset=utf-8");http://www.imooc.com/qadetail/134022
随时随地看视频慕课网APP
我要回答