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 '' at line 3 Query: SELECT target.target_id, target_eng_name AS target_name FROM hastarget LEFT JOIN target ON target.target_id=hastarget.target_id WHERE hastarget.event_id=Der skete desvrre en fejl, da vi hentede data i databasen. Hvis fejlen bliver ved med at forekomme, kan du kontakte systemadministratoren, der vil rette fejlen hurtigst muligt. Fejlnr.: 1020.