Read thread sequence through database

Read thread sequence through database

by Agate Wylla -
Number of replies: 0

Hi, any idea on how to read discussion thread sequence through database. I have to analyze which student reply to certain post. I have the idea by sorting the 'parent' then 'created' column in mdl_forum_posts, then manually arrange the sequence on paper, but turn out, the result are not same with the real discussion.

Which means by arrange manually, there are many parent. But by observing the discussion, there are not too many parent. So, is there a specific way to get 'who reply to which post' through database?

 

Average of ratings: -