Thank you nate.  That got me going on the right direction (i think).

So $result = $this->Post->Tag->findAll(array("Tag.id" => array(3, 6)));
returns an array with each tag specified in the condition and their
related posts within, and when I set recursive to 2 I get all the tags
associated with each Post returned.

>From here my thought is to merge $result[0]['Post'] and
$result[1]['Post'] to get an array of all Posts with those two tags.

Then I need to loop through the array and get rid of the dupes.

Am I going about this correctly?  I feel like there might be a more
efficient way to do this all.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" 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