As RosSoft has said, findBy<FieldName> will only return one record,
whereas findAllBy<FieldName> will return all of them.

However, the variation of the method name you use will depend on your
version of PHP.  PHP4 users must use findAllByPost_id (this is also
compatible with PHP5), but PHP5 users can also use the CamelCase syntax
of findAllByPostId.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to