Re: Nested Menu Help
| From: | Jason Wong | Date: | Sun, 23 Jun 2002 05:15:21 +0000 |
| Subject: | Re: Nested Menu Help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103446@lists.php.net to get a copy of this message | ||
On Friday 21 June 2002 17:12, webmaster@tececo.com wrote:
> When I am in page A (or one of it's children) I wish to show it's one level
> of children like so:
>
> Page A
> Child 1
> Child 2
> etc...
> Page B
>
> When I am in page B (or one of it's children) I wish to show it's one level
> of children like so:
>
> Page A
> Page B
> Child 1
> Child 2
> etc...
>
> Do you get the picture?
>
> I have a db with link url, id, parent id and title
>
> does any one know of a simple function or something to do this for one
> level?
Have a look here:
http://phpclasses.gremlins.com.hk
There are a number of classes which deals with these tree menus.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
I do not fear computers. I fear the lack of them.
-- Isaac Asimov
*/