Error performing query: SELECT * FROM news WHERE YEAR(date_published)=events2/ AND type="news" && visible=1 && date_published <= NOW() ORDER BY date_published DESC

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 type="news" && visible=1 && date_published <= NOW() ORDER BY date_published ' at line 1
Fatal error: Call to a member function fetchAll() on a non-object in /web/htdocs/www.matrimonio-italiano.it/home/php/classes/DBaccess.php on line 84