[PHP] threaded comments

2005-04-08 Thread Sebastian
i am developing a comment/discussion board and i want to display the results in a threaded style. so far i have it all working except this one issue: each row has an ID and a parentid, say i have 5 rows: id : 10 most oranges come from florida id : 16 Re: most oranges come from florida

Re: [PHP] threaded comments

2005-04-08 Thread Jochem Maas
Sebastian wrote: i am developing a comment/discussion board and i want to display the results in a threaded style. so far i have it all working except this one issue: each row has an ID and a parentid, say i have 5 rows: id : 10 most oranges come from florida id : 16 Re: most oranges come

RE: [PHP] threaded comments

2005-04-08 Thread Kim Madsen
-Original Message- From: Sebastian [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 10:17 PM i want the rows to know the id directly above itself so for example, row 5 (id 28) will some how know its parentid (16) is not directly above it and is not accociated with the

Re: [PHP] threaded comments

2005-04-08 Thread Richard Lynch
On Thu, April 7, 2005 1:17 pm, Sebastian said: i am developing a comment/discussion board and i want to display the results in a threaded style. so far i have it all working except this one issue: each row has an ID and a parentid, say i have 5 rows: id : 10 most oranges come from florida

Re: [PHP] threaded comments

2005-04-08 Thread Richard Lynch
On Thu, April 7, 2005 1:17 pm, Sebastian said: i am developing a comment/discussion board and i want to display the results in a threaded style. so far i have it all working except this one issue: each row has an ID and a parentid, say i have 5 rows: id : 10 most oranges come from florida

Re: [PHP] threaded comments

2005-04-08 Thread Richard Lynch
On Thu, April 7, 2005 1:17 pm, Sebastian said: i am developing a comment/discussion board and i want to display the results in a threaded style. so far i have it all working except this one issue: each row has an ID and a parentid, say i have 5 rows: id : 10 most oranges come from florida

Re: [PHP] threaded comments

2005-04-08 Thread Sebastian
thanks a million, it works. so simple and i tried something similar except i was using parentid at the end of the loop vs the id itself. thanks again, its not the first time you helped me out :) - Original Message - From: Richard Lynch [EMAIL PROTECTED] On Thu, April 7, 2005 1:17