I am using php and mysql.
i have a question, lets say, I have a userid column in users table under database A, and userid column in purchases table under database B.
Can I execute a single query, using innerjoin, to get value from 2 databases? Or I must use multiple queries?
Oh ya, if let say, i have this variable:
$conn // connect to database A
Can i create another variable to connect database B before mysql_close()??
Sorry for multiple questions here ;p