I was forwarded to this group from Jon and I was hoping that perhaps you would be able to solve my dilemma as well.
I tried to follow the information above, but it didn't work. Here is basic output of my array ( I removed most of the output ): Array ( [Holiday] => Array ( [id] => 1 [holiday_name] => Halloween ) [Product] => Array ( [0] => Array ( [id] => 668 [product_name] => Cathy B Vellum Stickers - Crazy Candies [description] => This is a package of bright and festive Cathy B vellum stickers that are "raised and glitter-glazed." It includes approx. 20 various types of candy like lollipops, jellybeans, gum and more. [price] => 1.29 [URL] => http://www.scrapstop.com/shop.php?op=itemdetails&item=10612&refid=839... [image] => http://www.scrapstop.com/images/10612_sm.jpg [category_id] => 12 [holiday_id] => 1 [added] => 2006-04-29 [newProd] => 0 [stock] => 1 [hits] => 3 ) ... Now if I change foreach ($data as $product) to foreach($data['Holiday'] as $product) and this returns the error: Warning: Invalid argument supplied for foreach() --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---