validate first the tempreport. so upon clicking the validate button,
the data for the chosen tempreport to be validated will be inserted
into the report table.
now, i can already create a new report from the tempreport controller
by using ClassRegistry::init('Report'). problem is, i can't insert the
data from the tempreport to the newly created report in the report
table. how exactly will i insert a data from one model to the other?
--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment