Dynamic menu from DB
| From: | Cesar Aracena | Date: | Thu, 09 Jan 2003 18:38:23 +0000 |
| Subject: | Dynamic menu from DB | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-130984@lists.php.net to get a copy of this message | ||
Hi all,
I'm making a new site for a client and he needs to put several different
menus under a static FLASH menu. The bad part is that every item in the
flash menu leads to different categories and these need different number
of sub menus. I use MySQL & PHP 4. The categories and sub categories are
something like this:
* Products <-- Flash static menu
- Item 1 <-- MySQL fetched menu
- Item 2 <-- MySQL fetched menu
- Item 3 <-- MySQL fetched menu
- Item 3-1 <-- MySQL fetched menu
- Item 3-2 <-- MySQL fetched menu
* Services <-- Flash static menu
- Item 1 <-- MySQL fetched menu
- Item 1-1 <-- MySQL fetched menu
- Item 1-2 <-- MySQL fetched menu
- Item 2 <-- MySQL fetched menu
- Item 3 <-- MySQL fetched menu
What would be the best solution for this? Another problem to solve is
the creation of new children into the menu... sub categories AND items
dynamically.
Thanks in advance,
Cesar L. Aracena
icaam@icaam.com.ar
caracena@infovia.com.ar
(0299) 156-356688
Neuquén (8300) Capital
Argentina