AndivomBerg Posted June 10, 2008 Share Posted June 10, 2008 Hi there, I have the following problem: I've got two websites, each with a rudimental CMS, each one has a database in the same database-server. The contents of the sites are stored with an ID in their particular databases. Now I want in one specific case that one single page of the first website is displayed identically on the second website. If I change something one this special page, the change shall also be displayed on the second website, too. It just needs to work in one direction. How can I realise this? Can I define a frame in the second page, in which the content of the first's page content is displayed? Or have I any other solutions? Thanks a lot for your help, Andi Quote Link to comment Share on other sites More sharing options...
fenway Posted June 10, 2008 Share Posted June 10, 2008 You either need to sync this DB "object" or connect to the 2nd DB. Quote Link to comment Share on other sites More sharing options...
AndivomBerg Posted June 10, 2008 Author Share Posted June 10, 2008 Thanks for your answear! Could you please tell me how to do that...? Quote Link to comment Share on other sites More sharing options...
luca200 Posted June 10, 2008 Share Posted June 10, 2008 The way you do any db connection. With host, user and password. Given you know them, of course. And given the two dbs are hosted on the same machine, otherwise you will hardly be able to do that. Quote Link to comment Share on other sites More sharing options...
AndivomBerg Posted June 10, 2008 Author Share Posted June 10, 2008 Ok, I did so. I added the secound database in the .inc file an now get an error message with says that tables don`t exist. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.