By rubensans on
Hello,
I want to import some data to another site.
The data to import is the whole "biblioteca" menu with all it's subdirectories and contents (nodes) to another drupal site.
This is the site to import: http://www.paidopsiquiatria.cat/
Any suggestion on how to do that?
Thanks in advance.
Comments
anyone?
anyone?
settings.php and db_set_active
In your settings.php, you can specify an array of connection strings to multiple databases. In whatever custom code that you write, you can use db_set_active to access a different db from the connection strings that you set in your settings.php file.
I'm not sure, but you might need to set the connection back to the current one again..
anyway, hope that helps.