Error

SELECT l.* FROM languages l JOIN sites_languages ON sites_languages.lang = l.lang WHERE siteId = ? ORDER BY l.lang ASC : 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 '? ORDER BY l.lang ASC' at line 1