Thanks for the link.
I've got a working JavaScript menu system; I wanted a PHP script that
runs once/day to generate the tree structure in the JavaScript config
file. That way each time I added a page to the database, it would be
automatically added to the menu system.

I'm still interested in the menu class to store each record as an object
of the class if anyone can point me to any sites or offer any hints.

Cheers,
Gav


-----Original Message-----
From: Leo G. Divinagracia III [mailto:[EMAIL PROTECTED] 
Sent: Friday, 15 October 2004 11:29 AM
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Generate Menu based on database structure




graeme wrote:

> Hi,
> 
> Rather than writing a recursive function I'd suggest that you create a

> menu class and store each record as an object of the class. 

why reinvent the wheel:

http://www.destroydrop.com/javascripts/tree/

-- 
Leo G. Divinagracia III
[EMAIL PROTECTED]

zzzzz

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

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

Reply via email to