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 '-6, 6' at line 1
select distinct p2c.products_id, p2c.categories_id, p.products_image, p.products_price, p.products_ordered from products_to_categories p2c, products p where p2c.categories_id='' and p2c.products_id=p.products_id and p.products_status='1' and p.products_image <> 'nopicture.gif' and p.products_image <> '' order by p.products_ordered desc limit -6, 6