Tuesday, March 1, 2011

Re: Can't Save to DB

On Mar 1, 2011, at 12:43, luca capra wrote:
> On 28/02/2011 15:55, theweirdone wrote:
>> SET `Episode`.`name` = Stowaway
> Hi, maybe I'm wrong, but is the Episode.name field configured correctly in the model?
> Shouldn't be within quotes?

He didn't know he was supposed to quote field names manually when using updateAll(). Anyway, updateAll() might not have been the right function to use here.

--
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: