Cahappearosex
New Member
Is it possible to print out (PHP) all my blog posts + associated comments via one sql query?If so, how?I was thinking in this direction:\[code\]SELECT p.post_id, p.title, c.comment_bodyFROM posts pLEFT JOIN comments cON c.parent_id = p.post_id\[/code\]But this didn't work out as I expected