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 '-40, 40' at line 6
SELECT * FROM (`films`) WHERE `cat` = '1' AND `pubdate` <= NOW() ORDER BY `pubdate` desc LIMIT -40, 40
Filename: /home/dcms/web/mp3asteroid.ru/public_html/models/films_model.php
Line Number: 107