[摘要]example1.php <?phpinclude_once("XML/sql2xml.php");sql2xmlclass = new xml_sql2xml("mysql://username:password@localhost/xmltest"...
example1.php
<?php
include_once("XML/sql2xml.php");
$sql2xmlclass = new xml_sql2xml("mysql://username:password@localhost/xmltest");
$xmlstring = $sql2xmlclass->getxml("select * from bands");
?>
……