Thursday, September 8, 2011

Re: How can i update a field using a function

On Thu, Sep 8, 2011 at 6:14 AM, Ryan Schmidt <google-2010@ryandesign.com> wrote:
> You really do want to be doing it the way the OP said: by running an atomic UPDATE statement that does the increment directly in the database, not in PHP code. I'm sure it's easy to do that in CakePHP but I don't have the code handy; perhaps someone else does.
>

Ahem! the question was about updating fields ;-)

Tarique


--
=============================================================
PHP for E-Biz: http://sanisoft.com
=============================================================

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