首页 相关文章 example2.php

example2.php


example2.php
?php
include_once("XML/sql2xml.php");
$sql2xmlclass = new xml_sql2xml("mysql://username:password@localhost/xmltest");
$xmlstring = $sql2xmlclass-getxml("select * from bands left join albums on bands.id = bandsID");
?


输出结果
$xmlstring = '
?xml version="1.0"?
root
result
row
id1/id
nameThe Blabbers/name
birth_year1998/birth_year
birth_placeLondon/birth_p...[ 查看全文 ]

2016-02-19 标签:

example2.php的相关文章

手机页面
收藏网站 回到头部