jlr2k8 Posted June 8, 2007 Share Posted June 8, 2007 I have another weird question. I'm making a forum right now for a friend's site, so how do make replies for other replies on a forum? It has something to do with "parent", but I'm not exactly how it works. Quote Link to comment https://forums.phpfreaks.com/topic/54812-wow-i-guess-im-not-as-experienced-as-i-thought/ Share on other sites More sharing options...
per1os Posted June 8, 2007 Share Posted June 8, 2007 Basically the gist of it is you have a field that is either parent or replyto that houses the ID of the main forum. From there you can order by date or id whichever and display the reply-to's in sequential order. If you want to do a tree structure than you would need some type of recursion which would check if the reply-to parent thread is a child of another parent. Either way its a fun brain cruncher. Quote Link to comment https://forums.phpfreaks.com/topic/54812-wow-i-guess-im-not-as-experienced-as-i-thought/#findComment-271098 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.