Does anyone know how to display hierarchical content from SQL? I was hoping to find the answer in the "Secrets of working with the tree tag"-HOWTO but appearently it's not yet in there. What I have in (My)SQL is a table with: cont_id - Unique ID (primary key) of a container upper_id - ID of the upper container or NULL (the container containing this container;) description - text to be displayed describing the container Ragnar Beer
Ragnar Beer wrote:
Does anyone know how to display hierarchical content from SQL? I was hoping to find the answer in the "Secrets of working with the tree tag"-HOWTO but appearently it's not yet in there.
What I have in (My)SQL is a table with: cont_id - Unique ID (primary key) of a container upper_id - ID of the upper container or NULL (the container containing this container;) description - text to be displayed describing the container
It has been up before, try searching for SQL and dtml-tree in the mailinglist archives. -- Best regards / Mvh., Steen Suder, sysadm kollegie6400.dk -|- OpenSource --- Sign of the time Scan-Aqua ADVARSEL WARNING http://www.uk.k64.dk/sfs/Scan-Aqua/
participants (2)
-
Ragnar Beer -
Steen Suder