Home > Backend Development > PHP Tutorial > 帮助理解!

帮助理解!

WBOY
Release: 2016-06-23 13:37:08
Original
884 people have browsed it

查询数据库表,结果存到xml文档中!
xml在浏览器显示如下:

<?xml version="1.0" encoding="UTF-8"?>-<root>-<list id="1"><name>张三</name><phone>1234567890</phone><pic>gg/am_1.png</pic><html>gg/am_1.html</html><ch1/></list>-<list id="2"><name>李四</name><phone>1234567890</phone><pic>gg/am_2.png</pic><html>gg/am_2.html</html><ch1/></list>-<list id="3"><name>王五</name><phone>1234567890</phone><pic>gg/am_3.png</pic><html>gg/am_3.html</html><ch1/></list></root>
Copy after login




请问PHP怎么写?数据库表都已经建好了!主要是最后的是怎么回事!


回复讨论(解决方案)


等价与

一个空节点

至于 php 怎么写,不就和输出页面一样吗


等价与

一个空节点

至于 php 怎么写,不就和输出页面一样吗





我最后看源码,发现了!解决了!

是一?空??。?有??的。

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