Welcome Guest, Not a member yet? Register   Sign In
css menu unlimited submenus db driven
#2

[eluser]Pascal Kriete[/eluser]
If you need unlimited depth AND need to extract a full path, the best solution is a tree based structure.
The MySQL site has a pretty good article on how you would implement something like this, which can be found here.

On the other hand, if you only ever need the current level as well as the parent and the children, you could create an intermediate table for relationships. ExpressionEngine, for example, takes this approach.


Messages In This Thread
css menu unlimited submenus db driven - by El Forum - 09-17-2008, 07:00 PM
css menu unlimited submenus db driven - by El Forum - 09-17-2008, 07:15 PM
css menu unlimited submenus db driven - by El Forum - 09-17-2008, 07:47 PM
css menu unlimited submenus db driven - by El Forum - 09-18-2008, 07:55 AM
css menu unlimited submenus db driven - by El Forum - 09-18-2008, 08:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB