Nate that's pretty interesting. I'm glad to see that there is a way of
using multiple databases with an application.

When you were talking about this;
// Run a query
$this->Model->findAll(...);
// Switch to a different database connection
$this->Model->setDataSource("other_connection");
// Run another query
$this->Model->findAll(...);
// Switch back to the original database
$this->Model->setDataSource("default");  connection

Would that be in the View or the Controller? Would I also need to
create a Model file for each table in the other database?

- Tony


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to