Error: SELECT * FROM WHERE pubblica=1 AND id=14≥tdb=viaggi

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 'WHERE pubblica=1 AND id=14≥tdb=viaggi' at line 1