[eluser]BrainFeeder[/eluser]
The same SO question I stumbled on yesterday ...
I've been lucky this time, because the user table has a foreign key company_id, I can just do
Code:
$c = new Company($u->company_id);
and go on from there... I hope this was the only situation where I needed cross database joins :|