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 'and classid = 1' at line 1
select * from ***_enewsdlink where addtime >= 1744905601 and addtime <= 1744991999 and id = 673 and userid = and classid = 1