Friday, May 27, 2011

Re: Editing ID

On Fri, May 27, 2011 at 2:11 PM, euromark <dereuromark@googlemail.com> wrote:
> updateAll is usually NOT for unsecured user input
> its for atomic queries and multiple changes mainly
>
> but if you use it for user input you have to secure your data of
> course (manually!)
>
> PS:
> all you needed was to add the id to the data array
>    this->data['Poscheck']['id'] = $id;
>    $save = $this->Poscheck->save($this->data);
> that should work, too
>

Unfortunately,, it doesn't work :(
I have tried it many time is different version hehehe... But thanks
for the response. :)

--
Regards,,,
mastanto (thom_)
http://mynameisthom.tumblr.com
http://mynameisthom.blogspot.com
http://www.twitter.com/mastanto_

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: