na so ähnlich wie deiner:
PHP:
<?php
$forum_categories=mysql_query("select * from Forum_Forum order by id");
while ($forum=mysql_fetch_assoc($forum_categories))
{
echo "<a href='thread.php?fid=".$row["id"]."'>".$row["fname"]."</a>"
$forum_posts=mysql_query("select * from Forum_Post order by id desc limit 1");
$forum_post=mysql_fetch_assoc($forum_posts);
echo "<a href='thread.php?fid=".$forum["id"]."'>".$row["fname"]."</a>"' Letzter Post verfasst von: '.$forum_post['user'].'<br>';
}
?>