SELECT * FROM events WHERE (data_start>='2024-04-01' AND data_end<='2024-04-30' ) ORDER by titolo
Fatal error: Uncaught PDOException: 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 '(data_start>='2024-04-01' AND data_end<='2024-04-30' ) ORDER by titolo' at line 1 in /web/htdocs/www.omniamultiservizi.it/home/lib/classes/events.class.php:418 Stack trace: #0 /web/htdocs/www.omniamultiservizi.it/home/lib/classes/events.class.php(418): PDOStatement->execute() #1 /web/htdocs/www.omniamultiservizi.it/home/events-calendar.php(23): Event->searchEvents() #2 {main} thrown in /web/htdocs/www.omniamultiservizi.it/home/lib/classes/events.class.php on line 418