Tuesday, March 20, 2012

Re: not Insert records


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

+44(0) 7939252144
....................................





No comments: