view _xampp/contrib/sql2xml.php @ 22:a8ae5cbc3364

update topic_tag_relation table when adding new tag
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Tue, 24 Feb 2015 17:29:56 +0100
parents b12c99b7c3f0
children
line wrap: on
line source

<?php
	include_once("XML/sql2xml.php");

	$sql2xml = new xml_sql2xml("mysql://root@localhost/cdcol");
	$xml = $sql2xml->getxml("select * from cds");
	
	header("Content-Type: text/xml;");
	echo $xml;
?>