Array to XML:
通過使用PHP的擴展SimpleXML,我們將uses_array轉換為xml格式。
保存成功的XML文件:
The users.xml file contains the following xml.
附註:
Insert XML Into Databse
If you want to save the XML into the database, then replace the $xml_file variable line with the following code line. Now you can insert $xml_file variable into the database.