SELECT * FROM JT_City WHERE (REPLACE(sCityName,'/ ','')='Ninh Binh' AND iProvinceID =More Vietnamese Locations ) OR (REPLACE(sCityName,'/',' ')='Ninh Binh' AND iProvinceID =More Vietnamese Locations);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 'Vietnamese Locations ) OR (REPLACE(sCityName,'/',' ')='Ninh Binh' AND iProvince' at line 1