Thanks for the reply. I do want to only change one field.
I forgot in my example, I had
$this->Cm->id = $this->params['form']['id'];
I was able to get it to work using query, such as
$sql='update `' . $this->Session->read('dataset_id') .
'` set ' . $this->params['form']['field'] . '="' .
$this->params['form']['value'] .
'" where id=' . $this->params['form']['id'];
$ret = $this->Cm->query($sql);
That doesn't really seem, though, like the cake way to go about it.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---