$threadinfo = fetch_threadinfo($bythreadid); $foruminfo = fetch_foruminfo($thread['forumid'); $postdm->set_info('forum', $foruminfo); $postdm->set_info('thread', $threadinfo);