Redirecting according to their role

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • veerjeet
    New Member
    • Feb 2013
    • 2

    Redirecting according to their role

    I have created two tables in database to store data of user in table1 and admin in table 2
    Table 1
    .........
    name password role
    ............... ...

    Table 2
    ........
    name password role
    ............... ...

    so according to there role i will retrieve them to there respective pages using single login pages
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    That breaks the rule of normalization, it should only be one table.

    Comment

    Working...