Wir sind auch hier: Facebook Twitter StudiVZ Youtube RSS-Feed


Die Fotogalerie

Fehler beim Ausführen der SQL-Anfrage
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 galerien.status = 1 AND galerien.eingelesen = 1 GROUP BY galeri' at line 10
Anfrage: SELECT galerien.*, count(galerie_bilder.dateiname) AS anzahl, teamsA.team AS teamA, teamsB.team AS teamB FROM galerien LEFT JOIN galerie_teams AS teamsA ON teamsA.ID = galerien.teamA LEFT JOIN galerie_teams AS teamsB ON teamsB.ID = galerien.teamB JOIN galerie_bilder ON galerie_bilder.galerieID = galerien.ID WHERE galerien.sportart = AND galerien.status = 1 AND galerien.eingelesen = 1 GROUP BY galerien.ID ORDER BY galerien.datum DESC