Invalid Query: select p.*,w.*,c.countries_cansale,c.countries_balance,c.warranty,i.images_name1, p.note as products_note from products p,websiteprices w,countries c,images i,products_to_categories cp
where p.products_id = w.products_id
and w.products_id = c.products_id
and p.images_id = i.images_id
and p.products_id = cp.products_id
and cp.categories_id =
and c.countries_cansale = 1
and w.website_id = 3
and c.countries_id = 3
and p.products_title ='Universal external laptop battery' (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 c.countries_cansale = 1
and w.website_id = 3
and c.countries_' at line 7) |