Hi Dr. Loboto, thanks for your reply!
Using ConnectionManager::create($name, $config) worked perfectly! I used myModel->setDataSource($name) to create the new connection. In my case, the structure of tables is different, so ill be forced to user the query method, and write my own query. But the part of connecting dynamically worked, thanks a lot! -- View this message in context: http://cakephp.1045679.n5.nabble.com/Connect-to-multiple-databases-dynamically-tp4461719p4469251.html Sent from the CakePHP mailing list archive at Nabble.com. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
