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 '%E9%AA%A8%E5%85%B3%E8%8A%82%E7%97%9B' at line 1
select tagname from ***_enewstags where tagid=%E9%AA%A8%E5%85%B3%E8%8A%82%E7%97%9B