MDB2 Error: syntax error; _doQuery: [Error message: Could not execute statement] [Last executed query: SELECT f.* FROM files_news p JOIN files f ON p.id_file=f.id AND p.id_news=:id ORDER BY f.nome ASC] [Native code: 1064] [Native message: 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 ':id ORDER BY f.nome ASC' at line 3]
SELECT f.* FROM files_news p JOIN files f ON p.id_file=f.id AND p.id_news=:id ORDER BY f.nome ASC