Since you are telling cake to only get you the first result with
find('first'), it doesnt feel the need to add number to the resulting row as
it would to the rows that a find('all') returns2009/6/14 Marcelo Andrade <[email protected]> > > On Sun, Jun 14, 2009 at 5:46 PM, centr0<[email protected]> wrote: > > (..) > > the view breaks after this, now i know its simply fixed my question is > > is it normal that the array structure changes when calling find('all) > > vs. find('first')? > > Sure it is. In this case, there will be: > > $x= $this->Model->find('all'); > $y= $this->Model->find('first'); > > $x[0] == $y > > Best regards. > > -- > MARCELO DE F. ANDRADE > Belem, PA, Amazonia, Brazil > Linux User #221105 > > http://mfandrade.wordpress.com > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
