Dynamic Navigation w/PHP

From: Date: Mon, 19 Nov 2001 16:17:59 +0000
Subject: Dynamic Navigation w/PHP
Groups: php.general 
Request: Send a blank email to php-general+get-75121@lists.php.net to get a copy of this message
Hello All, I am looking for example code demonstrating the ability to dynamically modify website navigation based upon data in a database. Specifically what I 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 only 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 an additional feature (page), simply accessing the database and enabling it would make it immediately available. Any suggestions or pointers would be greatly appreciated. Michael

« previous php.general (#75121) next »