0

I need to choose users from two different tables for authentication. Is it possible ? Thank you in advance!

mysql authentication

21st Jan 2017, 2:29 PM
Prince Ivan Kent Tiburcio
Prince Ivan Kent Tiburcio - avatar
4 Respuestas
+ 2
yes it is possible. select * from table1,table2 where table1.id=table2.id
21st Jan 2017, 2:35 PM
Megatron
Megatron - avatar
+ 1
well I can't actually get what you want. if possible please elaborate a bit.
22nd Jan 2017, 5:44 AM
Megatron
Megatron - avatar
0
like for example I want to verify if the user is admin table or in teacher table. this is for authentication of my system
22nd Jan 2017, 5:42 AM
Prince Ivan Kent Tiburcio
Prince Ivan Kent Tiburcio - avatar
0
I used two tables for my different users. one is for admin and one is for teacher. Now in login form. I want to verify if the user is admin or teacher for the authentication.
23rd Jan 2017, 12:22 AM
Prince Ivan Kent Tiburcio
Prince Ivan Kent Tiburcio - avatar