Home > Backend Development > PHP Tutorial > 请教如何奖XML传来的数据去MYSQL数据库查询出来

请教如何奖XML传来的数据去MYSQL数据库查询出来

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:16:59
Original
764 people have browsed it

请问怎么奖XML传来的数据去MYSQL数据库查询出来!
就是别人要将数据用XML的形式传过来,但是现在不知道怎么将XML的数据转换成数组,再这些数据去MYSQL数据库将对应的数据查询出来···  求解···


------解决方案--------------------
php 对xml的支持是很丰富的

SimpleXML

别人传递给你的数据你解析一下就可以了

当然还有

xml2array

不过我自己没有用过.
Related labels:
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
Latest Issues
objective-c - socket sends data in xml format
From 1970-01-01 08:00:00
0
0
0
How to parse and process HTML/XML in PHP?
From 1970-01-01 08:00:00
0
0
0
How to parse and process HTML/XML in PHP?
From 1970-01-01 08:00:00
0
0
0
How to parse and process HTML/XML using PHP?
From 1970-01-01 08:00:00
0
0
0
Update xml namespace with data from PHP form
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template