Re: New record without form

2008-01-28 Thread f.
try $this->Modelname->create(); $this->Modelname->save($product); assuming $product has the right "cakey" structure: array('Model' => array('field1' => 'val1', 'field2' => 'value2')) regards, f. On 28 Jan., 20:34, dandreta <[EMAIL PROTECTED]> wrote: > I have a function that receives an array o

New record without form

2008-01-28 Thread dandreta
I have a function that receives an array of data($product). How can I create a new record in the database with the information received without using a form? Thanks and regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google