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 ')' at line 1

select distinct p.products_thumb,p.price,p.products_model,p.max_order_num,p.min_order_num,p.products_brand_name, pd.products_name,p.products_image,p.products_thumb, pd.products_feature,pd.products_specs, pd.products_simpledescription, p.products_id, pd.products_name, pd.products_feature, p.products_price, p.products_tax_class_id from ((products p) , products_description pd) left join specials s on p.products_id = s.products_id, categories c, products_to_categories p2c where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and ((pd.products_name like '%replica%' or p.products_model like '%replica%' or pd.products_simpledescription like '%replica%' or pd.products_feature like '%replica%' or pd.products_specs like '%replica%' or pd.products_description like '%replica%') and (pd.products_name like '%watch%' or p.products_model like '%watch%' or pd.products_simpledescription like '%watch%' or pd.products_feature like '%watch%' or pd.products_specs like '%watch%' or pd.products_description like '%watch%') and (pd.products_name like '%hq%' or p.products_model like '%hq%' or pd.products_simpledescription like '%hq%' or pd.products_feature like '%hq%' or pd.products_specs like '%hq%' or pd.products_description like '%hq%') and (pd.products_name like '%factory%' or p.products_model like '%factory%' or pd.products_simpledescription like '%factory%' or pd.products_feature like '%factory%' or pd.products_specs like '%factory%' or pd.products_description like '%factory%') and (pd.products_name like '%rolex%' or p.products_model like '%rolex%' or pd.products_simpledescription like '%rolex%' or pd.products_feature like '%rolex%' or pd.products_specs like '%rolex%' or pd.products_description like '%rolex%') and (pd.products_name like '%daytona%' or p.products_model like '%daytona%' or pd.products_simpledescription like '%daytona%' or pd.products_feature like '%daytona%' or pd.products_specs like '%daytona%' or pd.products_description like '%daytona%') and (pd.products_name like '%������������������������������7750������������������(������������%' or p.products_model like '%������������������������������7750������������������(������������%' or pd.products_simpledescription like '%������������������������������7750������������������(������������%' or pd.products_feature like '%������������������������������7750������������������(������������%' or pd.products_specs like '%������������������������������7750������������������(������������%' or pd.products_description like '%������������������������������7750������������������(������������%') ) )

[TEP STOP]