Welcome Guest, Not a member yet? Register   Sign In
Display dynamic menu and menu display rolewise login in Codeigniter
#1

hello everyone i need help in codeigniter dynamic menu, here i shown my two table 1st is category and 2nd is user_registration,
so here i want to display menu rolewise login
suppose 1st is admin so admin will shown all menus,
and 2nd is user so here i want to display them only 1,2 and 6 menu,
here two tabel give cid is foriegn kesy, so how to join this table and how to disple menu userwise login
so how to impelment in codeigniter give me hint


*Category
cid    cname         parentID      

 1      Home                0          
 2     Marketing           0             
 3     Customer           2             
 4     Quoation            2                 
 5     New Customer    3         
 6     view Customer    3




*user_registration
userid  roll_id   fullname    username        password           cid
  1        1           admin     [email protected]   admin         1,2,3,4,5,6
  2        2          user         [email protected]        user          1,2,6
Reply


Messages In This Thread
Display dynamic menu and menu display rolewise login in Codeigniter - by jaydevvara - 07-23-2018, 12:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB