MySQL Error: Fehler bei Datenbankabfrage
MySQL meldet: 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 '' at line 12
sql=SELECT n.ID, n.titel, n.user, n.email, n.news_text, n.news_text_ext, n.news_date, n.commentmode, n.newstype, COUNT(l.newsid) as links, t.ID, t.name, t.image, COUNT(c.newsid) as comments FROM tsys1_news as n LEFT JOIN tsys1_news_links as l ON l.newsid = n.ID LEFT JOIN tsys1_news_types as t ON t.ID = n.newstype LEFT JOIN tsys1_news_comments as c ON c.newsid = n.ID GROUP BY n.ID ORDER BY news_date DESC LIMIT