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 '%E5%B0%BF%E6%BD%B4%E7%95%99' at line 1
select bclassid from ***_enewsclass where classid=%E5%B0%BF%E6%BD%B4%E7%95%99