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 `is_hide` = 0 LIMIT 1' at line 1 SELECT `id`,`name`,`rid`,`pinyin` FROM `bx_channel` WHERE `id` = AND `is_hide` = 0 LIMIT 1You 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 `is_hide` = 0 LIMIT 1' at line 1 SELECT `id`,`name`,`rid`,`pinyin` FROM `bx_channel` WHERE `id` = AND `is_hide` = 0 LIMIT 1