1
ok i put the following code in a custom block as tried it both as HTML and PHP
require("http://www.thatgamingsite.ath.cx/webstats/include/functions.php");
echo "Number of people today: " . stat_value("todayunique") . "<br>";
echo "Number of people this week: " . stat_value("weekhits") . "<br>";
echo "Record of people in one day: " . stat_value("record_day") . "<br>";
echo "Total Hits: " . stat_value("totalhits") . "<br><br>";
echo 'View the 5 day trend <a href="http://www.thatgamingsite.ath.cx/webstats/index.php?act=trend">here</a>.<br>';
echo 'Powered by <a href="http://www.thatgamingsite.ath.cx/webstats/"> Elite Stats </a>';
Ive also tried it with <?php ?> and it still doesnt work.
I even tried it in a seperate file, and it works there.
Anyone know what im doing wrong?