Quantcast
Channel: Answers for "Creating a reply to the comment table."
Viewing all articles
Browse latest Browse all 4

Answer by ThomasRushton

$
0
0
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 there'll be a record in the ReplyTo table: CommentID InReplyToCommentID 47 13 This has the advantage of being small, and not requiring multiple organisations for storing the same sort of information, as well as not affecting any existing systems.

Viewing all articles
Browse latest Browse all 4

Trending Articles