Thank you for you help.
The only problem I have with that right now is that the id isn't picked up if there is no record in the second database.
I tried it in mysql directly and it looks like the ids are showing up. When done in php its null though.
Anyway around this or is there possibly something I'm doing wrong? I'll post the query string.
SELECT * FROM `upload_history` LEFT JOIN `users` ON (`users`.`user_id` = `upload_history`.`user_id`) LEFT JOIN `assignments` ON (`assignments`.`upload_id` = `upload_history`.`upload_id`) WHERE `complete` = '1' AND `assignments`.`status` !='2' OR `assignments``status` is NULL ORDER BY `upload_ftimestamp`;