Do you mean like I have on my forum?
http://hillberg.nu/imacsidan/forum
Then its just two have two loops.
The first one for the topics, and the second inside the first for the replies.
This is just ex.
From the mysql table you get 4 topics ($topics = "4"😉
This is what I use.
for ($i = $topics; $i > 0; $i--) {
// I did the for loop this way to get it to DESC the selection of the topics.
// Then select the posts from mysql where the topic matches $i.
// Then the selection of posts.
$l = mysql_query("Select * from forum where thread='$i' order by post");
for ($r = 1; $r <= $post_num; $r++) {
// Gets the entries, I use mysql_fetch_array
$info = mysql_fetch_array($l);
echo $info[somefield];
}
}
I hope I did explain correctly, I didn't use the accuall code from my forum, just the one in my head.
And Crazytoon, the thing is that you want to do it yourself.
If you don't understand what I'm saying I can give you the forum code I have.
Good Luck!