Since I currently use cakePHP 1.1 for my project, I don't know much about Set::extract. I'll go for cakePHP 1.2 when it's ready to fly. Thanks for your suggestion anyway, Mariano.
On 3月10日, 午後10:04, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > Unless you use CakePHP 1.2, and take advantage of the beauty of > Set::extract. > > -MI > > --------------------------------------------------------------------------- > > Remember, smart coders answer ten questions for every question they ask. > So be smart, be cool, and share your knowledge. > > BAKE ON! > > blog:http://www.MarianoIglesias.com.ar > > -----Mensaje original----- > De: [email protected] [mailto:[EMAIL PROTECTED] En nombre > de Dr. Tarique Sani > Enviado el: Sábado, 10 de Marzo de 2007 09:38 a.m. > Para: [email protected] > Asunto: Re: Smarty problem with hasMany associations > > Ummm... may be I was not clear - first multi dimentional arrays will > need nested a loop > second you will need to use foreach for the comments part the key in > that case will be irrelevant --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
