MySQL Error!!!
Запрос: select * from sakhmeteo_cat where p_id = '57' and type = 'article' and status = '1' order by pub_date desc limit -90, 10
Ошибка: 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 '-90, 10' at line 1
Fatal error: Uncaught TypeError: mysqli_fetch_array(): Argument #1 ($result) must be of type mysqli_result, bool given in /home/sakhmeteo/sakhmeteo.ru/docs/lib/main.php:70 Stack trace: #0 /home/sakhmeteo/sakhmeteo.ru/docs/lib/main.php(70): mysqli_fetch_array(false) #1 /home/sakhmeteo/sakhmeteo.ru/docs/news.php(31): db_fetch_array(false) #2 {main} thrown in /home/sakhmeteo/sakhmeteo.ru/docs/lib/main.php on line 70