" Thank you for your recomendation of our bed, it is perfect and..." read more
 
1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '155,181,182,183,184,185,186,187,189,190,201,204,205,206,207,208,209,210,211,212,' at line 4
in:
[select count(*) as total FROM products p LEFT JOIN specials s ON (s.products_id = p.products_id) LEFT JOIN products_description pd ON (pd.products_id = p.products_id) INNER JOIN categories_description cd ON (p.master_categories_id = cd.categories_id AND cd.language_id=1 AND cd.categories_description LIKE '%-beds-%') WHERE p.products_status = '1' AND ( (s.status = 1 AND p.products_id = s.products_id) OR (p.master_categories_id IN (367,368,369,370,371,372,373,374,375,376,379,380,381,382,383,384,385,386,387,388,,155,181,182,183,184,185,186,187,189,190,201,204,205,206,207,208,209,210,211,212,213,214,216,217,218,219,220,221,222,223,233,234,235,236,237,238,239,240,241,242,245,246,247,248,249,250,251,252,253,254,255,256,259,260,263,264,265,266,267,268,269,270,271,272,273,274,275,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,325,326,327,328,329,330,334,335,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,356,359,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,393)) ) AND p.products_id = pd.products_id AND pd.language_id = 1]