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 '%E8%82%A0%E9%81%93%E5%87%BA%E8%A1%80' at line 1
select tagname from ***_enewstags where tagid=%E8%82%A0%E9%81%93%E5%87%BA%E8%A1%80