Hello everyone,
i'm writing my own forum, and now my database has a table for categories, a table for forums (each forum belongs to only one category), a table for members, a table for threads (each thread belongs to only one forum, and each thread has only on member as thread starter), and a table for posts (each post belongs to only one thread and has only one member as poster). Now the questions is:
how "reply to another reply" posts should be organized in the database?
Thnx

Your forum-post record, could have an id column, referencing another record in the same table. A link table is another option.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.