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 ') AND (participants.participantCodeID IN (1,2)) ) AS gamesParticipations ' at line 13 in /homepages/5/d679804057/htdocs/ciss/index.php:2464 Stack trace: #0 /homepages/5/d679804057/htdocs/ciss/index.php(2464): PDO->query('SELECT gamesID,...') #1 /homepages/5/d679804057/htdocs/ciss/index.php(110): countries() #2 {main} thrown in /homepages/5/d679804057/htdocs/ciss/index.php on line 2464