select * from gb4_guestbook where blog_id='3482' order by id desc limit -24, 24

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-24, 24' at line 1 : 1064

error file : /blog/bbs/guestbook.php