$sql = 'SELECT p.topic_poster, p.topic_time, p.topic_id, p.topic_title, p.topic_last_post_id, a.user_id, a.username, a.user_level, a.user_jr, s.post_id, s.post_time, s.poster_id, s.forum_id, c.forum_id, c.forum_name, w.post_id, w.post_text FROM ' . TOPICS_TABLE . ' p LEFT JOIN ' . POSTS_TABLE . ' s ON (p.topic_last_post_id = s.post_id) LEFT JOIN ' . USERS_TABLE . ' a ON (a.user_id = s.poster_id) LEFT JOIN ' . FORUMS_TABLE . ' c ON (c.forum_id = s.forum_id) LEFT JOIN ' . POSTS_TEXT_TABLE . ' w ON (p.topic_last_post_id = w.post_id) ORDER BY s.post_time DESC LIMIT 5';
i aby mi wyświetlało autora tematu to muszę jakoś to dodać:
lecz gdy to dodaje to mi nic nie wyświetla.
Można liczyć na jakąś pomoc jak to dodać aby poprawnie działało ?