You could try using a DHTML menu like the one at

The array of elements needed can be generated using PHP based on certain

Let me know if you or anybody else would like a PHP script creating so that
you could generate menus based on values that you have in PHP.


----- Original Message -----
From: "Mike Elkins" <[EMAIL PROTECTED]>
Sent: Monday, November 19, 2001 4:17 PM
Subject: [PHP] Dynamic Navigation w/PHP

> Hello All,
> I am looking for example code demonstrating the ability to dynamically
> modify website navigation based upon data in a database. Specifically what
> am trying to figure out is how to control what pages are available based
> upon whether they have been "enabled" in the database. I am developing a
> template driven website, with content controlled by the database which
> indicates what the customer has opted for. While ten pages might be
> available and part of the web site template, a given customer may have
> paid for four, thus when his site is hit, only those four pages will be
> available in the navigation elements. Should the customer care to request
> additional feature (page), simply accessing the database and enabling it
> would make it immediately available.
> Any suggestions or pointers would be greatly appreciated.
> Michael

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to