<? $newsy = $db->get_results("SELECT news.*, comments.* , forum_users.username FROM news LEFT OUTER JOIN forum_users ON news.author_id = forum_users.id LEFT OUTER JOIN comments ON comments.author_id = forum_users.id AND comments.item_id = news.id ".$str_cat." ORDER BY unixdate DESC ".$str_limit.""); ?>
Ale w tej chwili wyciągam tylko komentarze których autorem jest autor newsa...
//gópie slasze :/