Home    /    BEAUTY
BEAUTY
  • Categories
  • Price
  • Color
    159
    ABSTRACT BLUE
    ABU
    ADMIRAL
    AEGEAN
    aegen
    MORE +  
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 (p.products_date_available < now() or p.products_date_available IS NULL)' at line 1

select count(distinct p.products_id) as total from products p, products_description pd, products_to_categories p2c, categories c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and (c.parent_id = '122' or p2c.categories_id = '123' or p2c.categories_id = '124' or p2c.categories_id = '125' or p2c.categories_id = '126' or p2c.categories_id = '127' or p2c.categories_id = '133' or p2c.categories_id = '134' or p2c.categories_id = '136' or p2c.categories_id = '139' or p2c.categories_id = '140' ) and p.products_status = '1' and p.products_free_gift_status = '0' and p.products_third_party_status = '0' and p.products_id = pd.products_id and pd.language_id = '1' and p.products_price <= 50) and (p.products_date_available < now() or p.products_date_available IS NULL)

[TEP STOP]