example1.php
include_once("XML/sql2xml.php");
$sql2xmlclass = new xml_sql2xml("mysql://用戶名:密碼@localhost/xmltest");
$xmlstring = $sql2xmlclass->getxml("從band 中選擇*");
?>
http://www.bkjia.com/PHPjc/314081.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/314081.htmlTechArticleexample1.php ?php include_once("XML/sql2xml.php"); $2xmlclass = newsql 2xmlclass( ://使用者名稱:密碼@localhost/xmltest"); $xmlstring = $sql2xmlclass-getxml("從...選擇*