Might as well.. I'm bored.
Replace MGAMESERVERID with your setting.PHP Code:<?php
$link=mssql_connect($sqlserver,$sqluser,$sqlpass);
$online=mssql_num_rows(mssql_query("SELECT ConnectingServerGroupID FROM atum2_db_account.dbo.td_Account WHERE ConnectingServerGroupID = 'MGAMESERVERID'"));
mssql_close($link);
echo $online;
?>
Have fun.



Reply With Quote

