"You have your one man, Hetty."
Comment Section?
Submitted by Raye on Sat, 11/05/2011 - 19:24.
Hello!!..I've been a reader of TKOL for a few years, I completely forgot my login info so I just created a new one instead of hurting my head trying to remember the email I had years ago. I had a question about your comment section. I know you don't use a third party blogging site and I wanted to know if you create a new comment section database for each post? I assume you use a database program like MySQL, if not I'd like to know how you get each blog post to have it's own comment section? I'm building a website myself and stumbled across this dilemma. Any help would be greatly appreciated
Who's online
There are currently 0 users and 2 guests online.
Recent comments
- I love that you're out there
2 years 3 weeks ago - If anyone is interessed, I
2 years 12 weeks ago - Tainted as it's been by the
3 years 15 weeks ago - So, so sorry to hear that.
3 years 15 weeks ago - To readers of this story I
3 years 18 weeks ago - It had something to do with
3 years 39 weeks ago - That sounds so fun,
3 years 39 weeks ago - Well, I did made the top
3 years 40 weeks ago - Hello Lothere,
Maybe you
3 years 40 weeks ago - Oh, man, I forgot about the
4 years 25 weeks ago
Who's new
- Stephanie
- Lady Dora
- Finn
Yes, I use MySQL for the
Submitted by Lothere on Sat, 11/05/2011 - 19:38.Yes, I use MySQL for the database.
Each post is stored in the "chapters" table, with an ID number.
Each comment in the "chapter_comments" table has its own ID number, too, but it also has a "chapter_id" field that links back to the chapter ID. So when I load chapter 1234, I also load all the comments which have chapter_id of 1234.
Hope that helps!
Yes! That helps a bunch.
Submitted by Raye on Sat, 11/05/2011 - 19:45.Yes! That helps a bunch. Thanks so much.