Answer by ThomasRushton
I would do it by keeping the replies in the Comment table, but having a separate table to link the Comments, thus: CommentID InReplyToCommentID So that if Comment 47 is a response to Comment 13, then...
View ArticleAnswer by Magnus Ahlkvist
Though Thomas Rushton already provided a good solution, I'd suggest adding just a new column, InReplyToCommentID in the comments table. Then you have both comments, replies and their relation all in...
View ArticleAnswer by ThomasRushton
I would do it by keeping the replies in the Comment table, but having a separate table to link the Comments, thus: CommentID InReplyToCommentID So that if Comment 47 is a response to Comment 13, then...
View ArticleAnswer by Magnus Ahlkvist
Though Thomas Rushton already provided a good solution, I'd suggest adding just a new column, InReplyToCommentID in the comments table. Then you have both comments, replies and their relation all in...
View Article