Array
(
[0] => SELECT * FROM 9g_game_card_type where sid = and status != '0' or gid = 539 and get_type = '2' and status != '0' ORDER BY id DESC LIMIT 0, 200
)
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 status != '0' or gid = 539 and get_type = '2' and status != '0' ORDER BY ' at line 1