Friday, May 29, 2009

copying table data from one table to another in cakephp controller method

hi,

i am new to cakephp.

i am working on a project in which we have two tables

one is product and the other is product repository,

both the tables have same structure.

what i want to do is create a repository for product so that we don't
have to put all

product information again and again, and just to copy it from
repository table to main

product table whenever we need to add the same product.

i have created product controller, model and view

as well as productrepository controller, model and view

please help me how can i do that

thanks in advance

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

No comments: