R
Rob
I have a website that does not have a database associated with it. The
original version of the web site had a menu on the left side of the screen
that was very simple. As the years have passed, the menu has grown and is
getting more complicated -- many sections, subsections, subsubsection,
etc... For example, menu is looks like:
Section 1
Subsection 1.1
Subsection 1.2
Subsection 1.3
Section 2
Subsection 2.1
Subsubsection 2.1.1
etc...
Unfortunately, this menu is hardcoded into each page and is getting a little
out of hand. I would like to put this into an include on each page and
generate the menu from a script. Since I don't have a database, it appears
that arrays or dictionary objects are the way to go. Does anyone have a
similar script out there? Any info on how to do this?
Thanks.
Rob
original version of the web site had a menu on the left side of the screen
that was very simple. As the years have passed, the menu has grown and is
getting more complicated -- many sections, subsections, subsubsection,
etc... For example, menu is looks like:
Section 1
Subsection 1.1
Subsection 1.2
Subsection 1.3
Section 2
Subsection 2.1
Subsubsection 2.1.1
etc...
Unfortunately, this menu is hardcoded into each page and is getting a little
out of hand. I would like to put this into an include on each page and
generate the menu from a script. Since I don't have a database, it appears
that arrays or dictionary objects are the way to go. Does anyone have a
similar script out there? Any info on how to do this?
Thanks.
Rob