[Deprecated] DMZ 1.5.3 (DataMapper OverZealous Edition) |
[eluser]mrtavo[/eluser]
[quote author="OverZealous.com" date="1248264869"]Yes, you can, very simply! The DataMapper database needs to be the default in CodeIgniter. Then, whenever you need the second DB, use the instructions provided in the CodeIgniter manual. (Scroll down to Connecting to Multiple Databases.) You can then use DataMapper like normal, and SELECT on your other DB using traditional CodeIgniter methods (include ActiveRecord).[/quote] Thanks very much for the quick reply I will try that soon. |
Welcome Guest, Not a member yet? Register Sign In |