mallen Posted September 22, 2007 Share Posted September 22, 2007 I am working on an application where users will upload images. I also have a forum using PHPBB. Is it possible to have a database for the users including ID, posts, and images and a separate database for the forums? The forum database has 30 tables and it seems easier to just add the extra tables to it. But if I can use some type of join I would rather keep the two separate. I have to keep the two linked somehow so if they log in to the web site they are logged in to the forum and vice versa. Link to comment https://forums.phpfreaks.com/topic/70265-possible-to-join-two-databases/ Share on other sites More sharing options...
Liquid Fire Posted September 23, 2007 Share Posted September 23, 2007 as long as they are on the same server sure: SELECT d1.whatever, d2.whatever FROM database_one.table d1, database_two.table d2 Link to comment https://forums.phpfreaks.com/topic/70265-possible-to-join-two-databases/#findComment-353170 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.