I want to create tree like menus in php,but the values will be retrieved from mysql,i want menus with submenus which means tree structure,i don't know how to display the mysql value in a menu tree structure,please help me out for this problem.

From what I have read in the past, it is best to use Ajax to do the job. Although I don't know the first thing about ajax that's just what people have been told is the better option because with ajax you can retrieve the data from mysql via client side (I think).

I want to retrieve data from different table to create tree structure menu,the method which you told is not working,please help me by giving exact coding.

Thanks in advance

This article has been dead for over six months. Start a new discussion instead.