Hello,
i tried this way now, but no data will be saved. The Older Version
saved the status but not the other values.

$this->WishlistEntry->read(null, $entryId);
               $data = array (
                  'WishlistEntry' => array (
                      'id' => $entryId
                      ,'reservation_status' =>'FREE'
                      ,'reservation_email' => null
                      ,'reservation_mail_sent' => null
                      ,'reservation_token' => String::uuid()
                  )
                );
                $this->WishlistEntry->save($data);
Where re my problems?

On 20 Feb., 14:24, WebbedIT <p...@webbedit.co.uk> wrote:
> You need to read the following in more 
> detail:http://book.cakephp.org/view/75/Saving-Your-Data
>
> Basically your data array must be in the format
>
> array(
>   'ModelName'=>array(
>     'fieldName1'=>'value',
>     'fieldName2'=>'value',
>     ...
>   )
> )

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to