SELECT p.title, p.content, FROM posts p WHERE p.id = '1' AND p.author = 'damian1@wp.pl'
wywala taki błąd
BŁĄD: 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 'FROM posts p WHERE p.id = '1' AND p.author = 'damian1@wp.pl'' at line 1