Friday, June 1, 2012

Re: Comparing fields in the controller

By the way, read whole chapter about model associations http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html and follow cake conventions for primary/foreign keys - that means NOT User.id == Blog.id BUT User.id == Blog.user_id.

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