in reply to Re: Generating recursive hash
in thread Generating recursive hash
unfortunately I cannot tell to what end, it might be 3 levels deep or more so I don't want to hard code it.
I actually have these info in a mysql db, what I would want to do is pulling those data, build the hash so I can display them in a nicely formatted structure.
root - first level -- second level --- third level - first
and so on, I am using Template Toolkit and I figured out that I can display it this way using "VIEWS" but I have no idea how to sort up this mess.
Note that both the 'id' & 'name' fields are important (the name so a user can understand what this section is and the ID for editing it)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Generating recursive hash
by GrandFather (Saint) on Dec 12, 2009 at 21:51 UTC |