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
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
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
3 matches
Mail list logo