example1.php
include_once("XML/sql2xml.php");
$sql2xmlclass = new xml_sql2xml("mysql://username:password@localhost/xmltest");
$xmlstring = $sql2xmlclass->getxml("select * from bands");
?>
|
![]() |
|
| PHP技术首页 | PHP基础 | PHP应用 | PHP技巧 | PHP函数 | 网络相关 | XML应用 | 图像处理 | 数据库相关 | 文件处理 | 邮件处理 | 系统相关 | PHP安装 | 其它文章 | 分类 | 专题 | 留言本 | 投稿 | 搜索 |
example1.php
include_once("XML/sql2xml.php");
$sql2xmlclass = new xml_sql2xml("mysql://username:password@localhost/xmltest");
$xmlstring = $sql2xmlclass->getxml("select * from bands");
?>