dwx1
09-10-2006, 08:07 PM
Can anyone give me some tips on the best way to set up a database for a forum?
Should I have all posts in one table, with one of the attributes being the id of the parent post?
Or a table with topics, a table with replies? Or something else altogether?
Also, should I just save the body of the post in the database? Or a text file and have an attribute pointing to that?
I guess this could be kind of a broad one, but any tips to get me started would be appreciated, or pointers to articles on it or the like.
Thanks very much.
Should I have all posts in one table, with one of the attributes being the id of the parent post?
Or a table with topics, a table with replies? Or something else altogether?
Also, should I just save the body of the post in the database? Or a text file and have an attribute pointing to that?
I guess this could be kind of a broad one, but any tips to get me started would be appreciated, or pointers to articles on it or the like.
Thanks very much.