Array
(
[0] => SELECT * FROM 9g_game_server where gid = and flag = 1 ORDER BY id DESC LIMIT 0, 500
)
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 'and flag = 1 ORDER BY id DESC LIMIT 0, 500' at line 1