Code: Select all
<style>
#errormsg {
color:000000;
}
</style>
<h1><div id="errormsg">
<?php
$url = "http://www.agecommunity.com/query/esocounts.xml";
$xml = simplexml_load_file($url);
foreach ($xml->online as $online) {
echo "$online online";
}
?>
</div>
i want to put this script in a module on the portal but im noob and have no idea how to make it work. I would appreciate some help.