Forum Moderators: buckworks
I need a help. I want to connect to two different databases at the same time when I log in to "X-Cart". There is "config.php" with certain parameters (user name, password, localhost and database name), so I guess I'd have to make another "config.php" named "config1.php" with the same parameters, except database name. But the problem is, where should I call this "config1.php"? Is it in "init.php" or elsewhere?
Best regards, Vladimir
and welcome to WebmasterWorld!
Basically, there is no way to use two different databases within a product that is not designed to do so (I doubt X-Cart can use 2 databases).
One workaround for you might be to merge 2 databases into single one -- but you need good database skills for that.