Hi Jaaam

I'm not sure why you've decided to do your validation this way - I would use
sessions and only insert validated data if required.

Why are you using a temp table?

On 5 March 2011 05:44, jaaam <[email protected]> wrote:

> i have a tempreport table and a report table. what i have to do is to
> 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
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>



-- 
Kind Regards
 Stephen

 http://www.ninjacodermonkey.co.uk

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to