SELECT `catalog`.id, `catalog`.exist, `catalog`.code, `catalog`.price, `catalog`.prc_4 AS `prc`, `catalog`.currency, `catalog`.sizes, `catalog`.colors, `catalog`.active_4 AS `active`, `catalog`.sleva_4 AS `sleva`, `catalog`.minn_4 AS `minn`, `catalog`.rost, `catalog`.likes, `catalog`.lost, `catalog`.soon FROM `catalog` WHERE `catalog`.active_4 = 1 AND `catalog`.id IN() ORDER BY `catalog`.exist ASC, `catalog`.pos ASC LIMIT 0, 12You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY `catalog`.exist ASC, `catalog`.pos ASC LIMIT 0, 12' at line 4