Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 ')
and a.tipo=(select id from tipiarticoli where nome='news')
order by' at line 17' in /var/www/web8/web/include/classi/class.Articoli.php:99
Stack trace:
#0 /var/www/web8/web/include/classi/class.Articoli.php(99): PDO->query('?????select ???...')
#1 /var/www/web8/web/sezione.php(34): Articoli->__construct(Object(Collection), false, 0, 10, '', 'news', 'sezioni', 'sezione')
#2 {main}
thrown in /var/www/web8/web/include/classi/class.Articoli.php on line 99