Link to home
Start Free TrialLog in
Avatar of owennicol
owennicol

asked on

PHP MySQL AJAX

Hi there,

My question is based on this example:
http://www.opencrypt.com/blog.php?a=23

I need to make the static tree menu dynamic with my MySQL database:

ere is my database table structure:
Table name: pages
fields:
id - int 255 auto-increment;
parent_id - int 255;
linklabel - varchar 255;

Please help!

Thanks,

owennicol
Avatar of Zado
Zado
Flag of United Kingdom of Great Britain and Northern Ireland image

Avatar of owennicol
owennicol

ASKER

Thanks for the quick reply Zado!

That is only half a solution really, the bits in bold in the code are the bits I need help with too!

ASKER CERTIFIED SOLUTION
Avatar of Bruce Smith
Bruce Smith
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you so much, your solution was perfect for my needs.

It's really helped me out a lot, thanks again.
Cool, you're welcome. I didn't comment on any of the code so I hope you know what's going on here. Don't hesitate to ask...

Cheers
Actually, yes please to an extra bit of help!

I've just posted a related question!

Thanks

Owen