How to use php to access mysql tables and form XML documents

Source: Internet
Author: User
How to use php to access mysql tables and form XML documents? If you want to use php + mysql + dtree + xml to make a dynamic tree directory, do you know how to use php to submit table data and import xml documents? Which of the following heroes can achieve this? If there is a better way to implement the directory tree, such as the directory tree structure in CSDN, it would be better ., Should the problem be: php generates xml, please give the dtree requirements, how to use php to access the mysql table and form an XML document?
If you want to use php + mysql + dtree + xml to make a dynamic tree directory, do you know how to use php to submit table data and import xml documents?
Which of the following heroes can achieve this? If there is a better way to implement the directory tree, such as the directory tree structure in CSDN, it would be better.

------ Solution --------------------
Should the problem be:

Php generates xml
------ Solution --------------------
Please provide the xml format required by dtree
------ Solution --------------------
Nagging, what is your profile picture? I just haven't seen it for a long time !!
------ Solution --------------------
Store all the content to be written into the xml file to a string (the best way is to use "$ str. =)
Use the file_put_contents ('AAA. XML', $ str) function.

------ Solution --------------------
Discussion

Nagging, what is your profile picture? I just haven't seen it for a long time !!

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.