I have a contain setup an working.
 
User views a post and contain related tables and all that good stuff. But I
want to add to the page "Other Posts by this user" So if someone is view a
post belonging to "Fred" it shows a list of MAX 10 other Posts by Fred.
 
But thinking of the contain where now I am finding Post where id = the
passed id, contain other tables / fields.... but how can I select to get all
the info for the post being viewed....then only the Post.title for the other
posts since i do not need to get all the data for every post...just the
first.
 
Is this possible with 1 "find" or do I need to use 2?  1 for the original
post then a second for the Post.title and Post.Id  to get all the "other
posts"
 
Dave 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to