Quote:
Originally Posted by ScriptMan
As an example say you an article and you want visitors to be able to post a comment about it?
|
This is what I want, thanks for putting it into English
Ive the table for records and it have the id for each record.
I want to add a comment section so every visitor can leave their comment on it.
I am now trying to implement a new table to insert these comments. But how can I link them together? And how can I define that these comments will stay with that record?
e.g.
Visitor 1 wrote a comment on Record A.
Visitor 2 wrote a comment on Record A.
Visitor 3 wrote a comment on Record C.
Visitor 4 wrote a comment on Record B.
Visitor 5 wrote a comment on Record A.
Visitor 6 wrote a comment on Record B.
Comment section on Record A's page will show Visitor 1, Visitor 2 and Visitor 5 comments.
Comment section on Record B's page will show Visitor 4 and Visitor 6 comments.
Comment section on Record C's page will show Visitor 3 comment.
Thank you for your help.