Dear all
As in the past, I am only trying to find ways to do things, not the actual scripts or coding itself, which I request you to review when I have my own.
On one of the sites that I have, I have a page which pulls out data from a table in mysql, and lists the contents.
I also have a form which I place at the bottom of this page, so that viewers can comment on this article/news item.
I now want to list these comments immediately after the article.
Now what I am looking for is, how can I achieve this? Do you suggest I store every comment (of course, after sanitising the user input) in a separate table, along with article id or title to this table? If I did this, would it be too taxing for the server to pull out the data from two tables at one time, resulting in under par performance?
I am looking for your various suggestions so I can try and implement the best suitable for the purpose.
Many thanks in advance - Melwyn