Re: Linked lists and Recursive searching

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51193
interpreted = N
texte = 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:00How 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 lookOne - two - three -- four FiveYou 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=date&P_ TIMEtype=time] [founditems]