I use something like this

$this->data['ModelName']['fieldToBeSet'] = 'the value for the field';
if ($this->ModelName->save($this->data) {
 // yea saved
}
else {
// bummer did not
}

HTH
  sdevore

On 1/5/07, Cory <[EMAIL PROTECTED]> wrote:

Do I use Model::set?


>



--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to