This is a way you can do XML for things like: image stats, live stats on your site, etc...
Users List:
KEEP IN MIND: Thats just an example, you can do what it which you like, for example, i made MSN Bot that did live stats for the server & connects to IRC & Live Signatures using PHP & GD. :technologPHP Code:<?
header('Content-Type: text/xml');
print "<rose>
";
$username="root";
$password="******";
$dbname = "roseon";
$conn = mysql_connect(localhost,$username,$password);
mysql_select_db($dbname);
// read data from database
$result = mysql_query("select * from characters")
or die ("Could not read data because ".mysql_error());
// print the data in a table or xml
if (mysql_num_rows($result)) {
while ($qry = mysql_fetch_array($result)) {
print ' <player>
';
print ' <name>'.$qry[char_name].'</name>
';
print ' <level>'.$qry[level].'</level>
';
print ' <curhp>'.$qry[curHp].'</curhp>
';
print ' <curmp>'.$qry[curMp].'</curmp>
';
print ' <str>'.$qry[str].'</str>
';
print ' <dec>'.$qry[dex].'</dec>
';
print ' <cha>'.$qry[cha].'</cha>
';
print ' ';
print ' <exp>'.$qry[exp].'</exp>
';
print ' <zuly>'.$qry[zuly].'</zuly>
';
print ' </player>
';
}
}
print "
</rose>";
?>


![[RELEASE] Website XML Stats Examples for Rose Online](http://ragezone.com/hyper728.png)

