Re: [PHP] dynamic navigation menu

[email protected] (viraj)
Newsgroups php.general
Message-ID <[email protected]>
On Thu, Jun 11, 2009 at 1:21 PM, web <[email protected]> wrote:
>
> Please can some one help me with a dynamic menu.

you can accomplish this easily. read about 'recursive functions'


>
> I have a 2 tables and I want to display the record from the first one as
> parent  and the second one as the child.

use a mysql view or a simple join to join those two tables. then loop
through the result using a recursive function.

~viraj

>
> My problem is when I query the data I can't place the child at their
> appropriate position.
>
> Please you help will be appreciated.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.