I want to create unlimited sub-pages (like sub-forums) for my site. Now this would be coded nearly the same as sub-forums, so im going to use it as an example.
I want to be able to attach a forum to any other forum, so you have a forum within a forum within a forum etc.... Now to do that in my forums table i have a field called attached_to, here is where the id of the forum that it is attached to is held. When I loop all the results of the table where attached_to = 0 (0 means nothing). how then can i find the sub-forums of those, and then those and so on.
This is hard to explain, so im hoping that you've gotten the point
read more here: http://rpgnet.clanmckeen.com/demo/viewtopic.php?t=1939