Welcome Guest, Not a member yet? Register   Sign In
Get recursive menu from database

I've seen a model called MPTtree discussed which I handels nested sets. Never looked into as of yet, alas.


Quote:Although the code below isn’t what you asked for, its some old code I had which done a nested drop down list of categories, so same concept.
Its essentially a recursive call starting with the top level categories, then searching for categories which have that as its parent etc

If you can’t make sense of it, I’ll adopt it to your situation in the morning, but I’m going bed now

Thanks Dam1an, Really was very useful.


Theme © iAndrew 2016 - Forum software by © MyBB