Hi,

This is the scene - I have 3 databases (currently) - one is named
"_shared" and the others are named after a country symbol ex "_us",
"_uk".

The "_shared" database has tables which in turn have rows - each
connects to a different database->table->id

For instance a table "_shared.fans" would have the fields -
id,user_id, { country_id,table_id,row_id } ,created -
{ country_id,table_id,row_id } would connect with the tables
"_shared.countries" to get the symbol to make up the database ex "_us"
and "_shared.tables" will list all the tables I will need to connect
to regardless of the database and finally the "row_id" will be the
foreignKey used to connect with the database->table.

Is it possible to have this connection in the "Fan" model so it
outputs the "_shared.fans" with the associated extra fields probably
within the array [associatedModel].

Any ideas? Id greatly appreciate the help - i thought of some other
methods but that don't cut it.

Thanks,
Rehan

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

Reply via email to