Re: dynamic navigation menu
| From: | viraj | Date: | Thu, 11 Jun 2009 07:58:42 +0000 |
| Subject: | Re: dynamic navigation menu | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-293921@lists.php.net to get a copy of this message | ||
On Thu, Jun 11, 2009 at 1:21 PM, web <dan@italghanaweb.com> 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.
>