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 '+data.listIconM[i].link+''' at line 1
select ID,ProvinceName from qichacha_sheng WHERE `Code` LIKE 'HEN/'+data.listIconM[i].link+''