Whats wrong with this? $data = $data[0];
or $data = reset($data); Cheers, Adam On Nov 19, 5:26 pm, thatsgreat2345 <[EMAIL PROTECTED]> wrote: > I was curious , I have been trying and looking around but have > failed. > > Array > ( > [0] => Array > ( > [User] => Array(..) > > [Point] => Array(..) > ) > ); > > However how do I remove the 0 to just get the User and Point to be top > level. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
