Home  >  Article  >  Backend Development  >  Thinkphp下面的xml_encode($data,encoding ='utf-8',root="think");函数怎么生成xml文件

Thinkphp下面的xml_encode($data,encoding ='utf-8',root="think");函数怎么生成xml文件

WBOY
WBOYOriginal
2016-06-13 13:52:061078browse

Thinkphp下面的xml_encode($data,encoding ='utf-8',root="think");函数如何生成xml文件
怎样使用Thinkphp下的xml_encode($list,encoding ='utf-8',root="think"); 函数生成xml文件


------解决方案--------------------
$list数组赋个数组进去试试

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn