if($web['connection']=='mssql'){
$db = 'mssql';
$connect_mssql = mssql_connect($web['dbhost'],$web['dbuser'],$web['dbpassword'],MuOnline);
if (!$connect_mssql) die("Couldn't connect to SQL Server");
}
$query = "SELECT top 20 charactername,class,point,class from EVENT_INFO order by Point desc";
$result = mssql_query($query);