Hi,
I am having some trouble joining two tables together that exist in seperate databases.
In PHP you can connect to one database but not two??
I have a database that contains customer and their login (they log in with email and password).
I wanted to link this to another site (a helpdesk site) which has its own database for logins. Rather than the customer re-registering on the helpdesk site and having 2 profiles, I wanted to use the existing table for the login to this site.
I wanted to use a UNION SELECT to join the logins from DatabaseA.Customers to the login details in DatabaseB.Members
I have been trying to figure this out for over a week and need some HELP!!!
Any ideas???
Thanks in advance.
G.
I am having some trouble joining two tables together that exist in seperate databases.
In PHP you can connect to one database but not two??
I have a database that contains customer and their login (they log in with email and password).
I wanted to link this to another site (a helpdesk site) which has its own database for logins. Rather than the customer re-registering on the helpdesk site and having 2 profiles, I wanted to use the existing table for the login to this site.
I wanted to use a UNION SELECT to join the logins from DatabaseA.Customers to the login details in DatabaseB.Members
I have been trying to figure this out for over a week and need some HELP!!!
Any ideas???
Thanks in advance.
G.