如何用php读取这个特殊的XML并且存入数组或者数据库

WBOY
Release: 2016-06-13 11:57:32
Original
808 people have browsed it

怎么用php读取这个特殊的XML并且存入数组或者数据库

  8889
  
  

  http://www.so.com
  360
  5
  1
  0
  0
  90
  
  

  
  

  
    
    
    
 
  


我想把这个XML读取出来,存ip和端口号进数据库或者数组。
------解决方案--------------------

simplexml_load_string

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!