Re: Linked lists and Recursive searching

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51194
interpreted = N
texte = I like it. Do you have a demo of your forum on display anywhere to have a peek at?MKOn Thursday, June 19, 2003, at 09:31 PM, WebCat @ Inkblot Media wrote:> I have a forum that I built a while back that does this. I can dig it > up if > you need me to, but I recommend doing this like the categories in > storebuilder. > > ID / TITLE / TYPE / R_ID / P_DATE / P_TIME > 1 / one / M / * / 6-19-2003 / 12:00:00 > 2 / two / * / 1 / 6-19-2003 / 12:01:00 > 3 / three / * / 1 / 6-19-2003 / 12:02:00 > 4 / four / * / 2 / 6-19-2003 / 12:05:00 > 5 / five /M / * / 6-19-2003 / 12;06:00 > > How this works is that the M under TYPE marks it as a MAIN POST or > TOP > LEVEL. > > When someone replys to a specific post you would take the ID of post > they > are replying to and put it under R_ID. > > thus the above would look > > One > - two > - three > -- four > Five > > You would use the P_TIME and P_DATE times to sort the search. > > [search > db=post.db&eqTYPEdatarq=M&asP_DATEdatarq=1&asP_TIMEsort=2&P_DATEtype=da > te&P_ > TIMEtype=time] > [founditems] >