Experienced Elementalist
- Joined
- May 1, 2012
- Messages
- 269
- Reaction score
- 72
Hello there!
Maybe a lot of people is looking for this..
Simple Online Player Counter
Step By Step:
1) Open notepad, copy this code, save as "online.php"
2) Go Mu core, Add module, "online.php", name "Online Counter"
3) Go Mu core, Add page, select "Online Counter", Give SQL access.
4) Go Mu core, check if it s working.
5) Enjoy
Demo? Its on my website fully working.
Maybe a lot of people is looking for this..
Simple Online Player Counter
<center><font color="red" size="6">SERVER NAME </font><font color="lime" size="6">
<?
$online = $core_db2->Execute( "Select memb___id from MEMB_STAT where ConnectStat='1'" );
echo "
ONLINE PLAYERS:
".number_format( $online->RecordCount( ) )."";
?></font></center>
Step By Step:
1) Open notepad, copy this code, save as "online.php"
2) Go Mu core, Add module, "online.php", name "Online Counter"
3) Go Mu core, Add page, select "Online Counter", Give SQL access.
4) Go Mu core, check if it s working.
5) Enjoy
Demo? Its on my website fully working.