Fatal error: Uncaught mysqli_sql_exception: 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 'ND (datapub<=NOW() AND NOW()<=dataend) AND primo_piano = 1 ORDER BY datapub DESC' at line 3 in /var/www/vhosts/elevel.it/subdomains/projects/httpdocs/scuolamalerbi/feed_news_cx.php:17
Stack trace:
#0 /var/www/vhosts/elevel.it/subdomains/projects/httpdocs/scuolamalerbi/feed_news_cx.php(17): mysqli->query()
#1 /var/www/vhosts/elevel.it/subdomains/projects/httpdocs/scuolamalerbi/feed_news.php(30): include('...')
#2 {main}
thrown in /var/www/vhosts/elevel.it/subdomains/projects/httpdocs/scuolamalerbi/feed_news_cx.php on line 17