select a.id as id_n,a.tytul,a.lead,a.tresc,a.autor,a.id_user, a.reklama_vidfile, a.data_dodania, a.czas_dodania, a.data_start, a.status, a.jedynka,a.id_kat, a.parent, b.imie,b.nazwisko,b.login,c.id_category,d.text1 from news as a ,users as b,news_in_category as c, tvorion_newscat as d where a.status=1 and a.id_user=b.id and a.id=c.id_news and c.id_category=d.UID and a.id=DB Error: syntax error