How to use TP to convert data in the database to xml solution
Source: Internet
Author: User
How to use TP to convert data in the database to xml, how to convert data in the database to xml, a table with id, productname, and country fields, how to convert dozens of pieces of data into xml. What should we do if we use Thinkphp? just output echo in the format required by xml in sequence. Is there any technical difficulties, under the TP core, there is d under functions how to convert the data in the database to xml using TP
How to convert database data to xml, a table with id, productname, and country fields, and how to convert dozens of data entries into xml. Thinkphp
------ Solution --------------------
Just echo output in the format required by sequential xml. Is there any technical difficulties?
------ Solution --------------------
Data_to_xml under the TP core functions
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.