Re: [PHP] bulletin board algorithm in php - how to write one?

2002-04-24 Thread John S. Huggins
Recursion is the way I manage this in my forum script. The database table for a particular forum topic does not have any concept of "threads" in the field data. Each message only knows who its parent is. If the parent ID = 0, then I know this is the first message of a virtual thread. Have a l

RE: [PHP] bulletin board algorithm in php - how to write one?

2002-04-24 Thread Stuart Dallas
PROTECTED]] Sent: 24 April 2002 22:03 To: [EMAIL PROTECTED] Subject: Re: [PHP] bulletin board algorithm in php - how to write one? Plain english eh? Oookay... :) Well it's pretty obvious you'll want to store the data somehow. I'd recommend using a MySQL database. For a simp

Re: [PHP] bulletin board algorithm in php - how to write one?

2002-04-24 Thread Kevin Stone
Plain english eh? Oookay... :) Well it's pretty obvious you'll want to store the data somehow. I'd recommend using a MySQL database. For a simple forum script you'll want to have two tables in your database. A Thread table and a Post table. The Thread table will store (threadid, username, su