SQL error in /homepages/31/d223874849/htdocs/carolinahousefurniture_public/products.php (Line 32)
select skus.id, prodNum, name from series, skus where sid = 8 and series.id = skus.series_id and number like '%WEB%' and series.type_id = 5 and series.cat_id in ( 15, 17 ) order by skus.id and series.sub_cat_id = 22 order by skus.id
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 'order by skus.id' at line 1