Tree menu

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Rob (rob_at_nospam.com)
Date: 04/21/04


Date: Wed, 21 Apr 2004 19:04:48 -0400

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



Relevant Pages

  • Re: Joomla?
    ... how to integrate it with an existing website etc welcome. ... Typically, you use the CMS via a browser, in fact. ... database, it ain't a deal of good to me really? ... segments/stories of your web site into a database and retrieve them on ...
    (comp.lang.php)
  • [NEWS] IBM Informix Web DataBlade Local Root by Design
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... that ease development of "intelligent", interactive, Web-enabled database ... person who has access to change the Perl script. ...
    (Securiteam)
  • RE: Need some MySQL query help...
    ... attempting to run the script: ... passed to the database. ... passwd entry to the current database entry. ...
    (perl.dbi.users)
  • Re: Joomla?
    ... how to integrate it with an existing website etc welcome. ... so you provide a CMS to them all. ... database, it ain't a deal of good to me really? ... segments/stories of your web site into a database and retrieve them on ...
    (comp.lang.php)
  • Re: Function that returns date of file.
    ... string after the date/time when it is used by itself. ... Is that your entire script? ... I make an IF statement that required the 'equals equals'. ... designed database your job will be all that much harder. ...
    (alt.php)