probably because you are exiting before calling the save function.

On 20 Mar 2012, at 09:19, nikunj wrote:

>                       //echo $this->Click->cloneReco($id);
>                       exit;
>                       
>                       if ($this->Click->save($click)) {
>                               $this->Session->setFlash('New Records is 
> inserted.');                   
>                       } else {
>                               $this->Session->setFlash('Error-in Insert');    
>                 
>                       }

....................................
Mike Karthäuser
Director, Brightstorm Ltd.

1, Brewery Court
North Street
Bristol
BS3 1JS

[email protected]
www.brightstorm.co.uk
+44(0) 7939252144
....................................





-- 
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