Page 1 of 1

Logging in using single form from two different tables?

Posted: Mon Jan 02, 2012 12:22 am
by arunm0089
I am having a log in page(login-form.php) and i need to use the same page to fetch user details from two different tables namely tb_premium_user and tb_business_user, how can i implement this effectively, can somebody help me in this.I am really looking forward for some reliable suggestions.

Re: Logging in using single form from two different tables?

Posted: Mon Jan 02, 2012 1:39 am
by Christopher
User the SQL JOIN to fetch data from multiple table. See the manual for your database.