there is a very good menu to do this : see PEAR html_menu
(see http://pear.php.net, search for package HTML_Menu)

this has various menu types. One is the 'tree' (vertical list), the other is 
the 'urhere', which will display the 'You are in:...' menu.

I guess this is mhat you need.
This works very well as long as you have a distinct URL for every menu item, 
which is usually the case.
I guess there is a PEAR::DB wrapper that will let you connect and fetch the 
data from a database. I did my own menu class to fetch my own menu data and 
display of using the HTML_Menu.

A good point is also the 'renderers' wich let you create new layouts for the 
very same menu data. this will help you create special menus for your 


-----Original Message----- 
From: David Skyers [mailto:[EMAIL PROTECTED]
Sent: Tue 5/12/2006 14:19
To: php-db@lists.php.net
Subject: [PHP-DB] List menus

How do you create a database driven list menu, and record the options
that a user has chosen. And then display the list menu with those chosen
option selected.

 Please select from list  >PHP 3  -----------------------  >PHP 4  >PHP



PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to