PHP Code:
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '=select name, points, attended from player.pvp_tournament_ranking ORDER BY point' at line 1
PHP Code:
function get_top_ten()
local sql = mysql_query("SELECT name, points, attended FROM player.pvp_tournament_ranking ORDER BY points DESC LIMIT 10")
local ranking = {}
if sql == "ERROR" then
return {}
else






