<?php require_once('jMySQLXML.php');
$mx = new jMySQLXML('localhost','dbname','dbusername','dbpassword');
$query = 'select * from yourtable'; $xml = $mx->jBuildXMLString($query);
printf('%s',$xml);
$mx->jWriteXML('testxml.xml');
$mx->jReadXML('testxml.xml'); //or you can read the string: //$mx->jReadXML($xml);
$mx->jInsertXML('yourtable'); ?>
|