Solved Comment system mutliple pages issue

June 6, 2017 at 15:26:58
Specs: Windows 8.1, intel core i5 1.7ghz/6gigs

Hello i have been searching for something for. sometime now...am wondering how some site such as urs are able to have automatic comment databases when a new forum page is created...is there a way u can create a database table to be able to print comments on different pages without showing a message from another page(since is selected from the same database table) or i have to create a new db table for every new commenting page on my website?


Do i need to manually create new database tables for a comment system on a different page on a website or it can be done automatically?


See More: Comment system mutliple pages issue

Reply ↓  Report •

#1
June 12, 2017 at 11:33:34
✔ Best Answer
Not sure about website but i assume the theory would be the same as any database.

I would probably have a table called comments with the page id started against it, and when that page is loaded i would read all comments in the table where page_id = current_page_id

This would be my approach otherwise you would have a seperate table for each page which is counter productive and is not eady to maintain


Reply ↓  Report •

#2
August 24, 2017 at 07:43:45
Thanks alot i found the answer already...i tought no one would reply...but thanks alot that was the answer i was looking for :)

Reply ↓  Report •
Related Solutions


Ask Question