Re: Linked lists and Recursive searching

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51196
interpreted = N
texte = Its the same logic we use to draw our page structure in our content manager ... Pretty clever the guys that wrote the original store builder code !!>> 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] >>