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

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

WBOY
Release: 2016-06-13 09:59:27
Original
976 people have browsed it

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


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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template