evershine Posted February 28, 2010 Share Posted February 28, 2010 Hi, I am getting following error when i try to search some product. Can any body help me about what is this error. 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 'where p.products_status = '1' and p.products_id = pd.products_id and pd.language' at line 1 select count(distinct p.products_id) as total from(((( products p) left join manufacturers m using(manufacturers_id), 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 '%test%' or p.products_model like '%test%' or m.manufacturers_name like '%test%') ) Link to comment Share on other sites More sharing options...
evershine Posted February 28, 2010 Author Share Posted February 28, 2010 Waiting for reply... I need it urgently if somebody can help me... Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted February 28, 2010 Share Posted February 28, 2010 Waiting for reply... I need it urgently if somebody can help me... What is this? from(((( products p) Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
evershine Posted February 28, 2010 Author Share Posted February 28, 2010 thanks mdtaylorlrim... I got the idea and fixed the issue. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.