Thread: Trees and Nodes
View Single Post
Old 11-26-2004, 04:35 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,720
redhead is on a distinguished road
A thought on this, not that it is a solution...
In the database structure, you could have reply_id and when posting this would hold the ID of the message/reply it is a reply to, then when selecting the current message/reply you would fetch all post with reply_id set to the current ID, and display it.. Altho I havn't given any thought to how this form of infinite loop in infinite dimensions should work.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote