Error Number: 1064
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 '-1, 1' at line 5
SELECT * FROM `detail_gallery` WHERE `id_gallery` = '10' ORDER BY `id` asc LIMIT -1, 1
Filename: controllers/Gallery.php
Line Number: 96