By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,642 Members | 1,389 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,642 IT Pros & Developers. It's quick & easy.

Redirecting according to their role

P: 2
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
Feb 25 '13 #1
Share this Question
Share on Google+
1 Reply


Rabbit
Expert Mod 10K+
P: 12,421
That breaks the rule of normalization, it should only be one table.
Feb 25 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.