Home > Backend Development > PHP Tutorial > thinkphp自带的xml_encode函数可以输出一个xml数据文件吗?解决方案

thinkphp自带的xml_encode函数可以输出一个xml数据文件吗?解决方案

WBOY
Release: 2016-06-13 10:04:41
Original
1428 people have browsed it

thinkphp自带的xml_encode函数可以输出一个xml数据文件吗?
这个函数如何使用?thinkphp怎么根据数据库查询结果生成xml数据文件?

------解决方案--------------------
为何不看看这个函数主题是怎么写的呢?
你只要把返回的结果 带入这个函数的$data就可以了 后面还有几个参数

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