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
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
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!
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you so much, your solution was perfect for my needs.
It's really helped me out a lot, thanks again.
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
Cheers
ASKER
Actually, yes please to an extra bit of help!
I've just posted a related question!
Thanks
Owen
I've just posted a related question!
Thanks
Owen
https://www.experts-exchange.com/questions/23554430/Make-menu-tree-with-ajax-php-and-mysql.html