Re: [PHP] tree structures

2002-07-09 Thread Alexander Ross
Never mind .. That can't happen because of how I build the tree .. thank you!!! "Alexander Ross" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Yes but the first 10 rows may or may not be the correct information to > post > > Post 1 = "test1 > Post 2 = "

Re: [PHP] tree structures

2002-07-09 Thread Alexander Ross
Yes but the first 10 rows may or may not be the correct information to post Post 1 = "test1 Post 2 = "test2" Post 3 = "re: test1" Post 4 = "test3" ... Post 11 = "re test1" I think that illustrates what I mean. Thanks for your help Alex "Ed Lazor" <[EMAIL PROTECTED]> wrote in message [EMA

RE: [PHP] tree structures

2002-07-09 Thread Lazor, Ed
You're basically paging through results. You have a SQL statement to get the data - just limit the statement to only draw information applicable to the page you're on. Like this: select * from table limit 0,10; That will select the first 10 records. Then you can use variables. if (empty($P))