Hi all.
I'm using two databases in drupal, one for drupal itself and another to
connect with mailman via MySQL.
The issue is, if I use de stander form: db_set_active('mailman'); to
change to the mailman DB doesn't work, seems stiked on the drupal
database.
I'm try to create a function that changes the database, but doesn't work
at all.
So, I have to make the changes using the classic
$dbi = mysql_connect("localhost", "USER", "PASS");
mysql_select_db("mailman", $dbi);
at the bennging of each function and reconect again to drupal using the
same technique.
The issue here I don't like the way I do it and I rather preffer the
"standard" of db_set_active, but doesn't work. What I'm doing wrong?
By the way, I'm using the lastest estable version of Drupal.