On Sep 5, 2006, at 10:11 AM, gorbster wrote:
>
> Is it possible to dynamically create tables from within a Cake
> application, and then use the table with Cake's Model class?
Make a generic model that doesn't use a table (var $useTable =
false), and use the execute() function of the model to create your
new table.
Something like $this->ModelName->execute('CREATE TABLE IF NOT EXISTS
foo');
-- John
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---