SELECT `rg__body`.*,mb_icon,mb_id,mb_name,mb_nick,mb_level
FROM `rg__body` LEFT JOIN `rg_member`
ON rg_mb_num = mb_num
ORDER BY rg_next_num DESC
LIMIT 0,
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 '' at line 5