Page 1 of 1

dynamic dropdown menu through database

Posted: Tue Oct 26, 2010 6:42 am
by manojsemwal1
Hai
I am working with a dynamic dropdown menu through database. its working fine. but the problem is occuerd when i have assign the menu to the user basis like
Administrator,Admin .
my menu table is like
id menuname parentid
1 Usermanagement 0
2 UserCreation 1
3 Userdetails 1
4 Master Creation 0
5 School Master 4
6 classMaster 4

I have given permission to the Admin like(1,3,4,5,6) id basis.
when the menu is display its showing only Main Menu like

Usermanagement(0), MasterCreation(0)
Userdetails(3) (here nothing showing).

if u have any experiance of this type of problem pl send solution

Thanks.

Manoj