How do you connect to 2 different tables in 2 different databases, using PHP

For example:

db - vb114
table - users
field - userid

db - sohh
table - albums
field - userid

So they both share the same userid. I know how to do it when everything is in one db, but what about in two db's?

<Edited by ibeblunt on 01-15-2001 at 12:07 AM>