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 '.price >= 100AND o.price <= 1000000) OR p.parent_id IN (SELECT product_id FROM p' at line 2(No Description) sql: SELECT DISTINCT p.id FROM products p, productoffers o WHERE p.id IN (SELECT product_id FROM productoffersAND o.price >= 100AND o.price <= 1000000) OR p.parent_id IN (SELECT product_id FROM productoffersAND o.price >= 100AND o.price <= 1000000) LIMIT 6
Fatal error: Call to a member function getFullArray() on a non-object in /home/fds193279/public_html/GOURMETCOFFEEBEANS.CO.UK/library/products.php on line 3564