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 '%E4%B9%B3%E8%85%BA%E8%B6%85%E5%A3%B0' at line 1
select bclassid from ***_enewsclass where classid=%E4%B9%B3%E8%85%BA%E8%B6%85%E5%A3%B0