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 '.147.210enewsclass where classid='28'' at line 1
select tbname,tid from ***_enewsclass where classid='28'