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 >= 1747843201 and addtime <= 1747929599 and id = 673 and userid = and classid = 1