Query Error 1064: 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 type = 1 AND status = 1 ORDER BY `cat_ppt_index` DESC LIMIT 8' at line 1 Query: SELECT * FROM `shop_category` WHERE `parent_id` = AND type = 1 AND status = 1 ORDER BY `cat_ppt_index` DESC LIMIT 8

Ошибка 1064. Запрошенный ресурс недоступен.