If you presume your array is $foo and this is the output from print_r, you could just say: $bar = $foo[0]; and $bar would be what you're looking for... On Jun 3, 2008, at 5:56 PM, Raul Berina wrote: > > [0] => Array ( > > > [0] => Array > ( > [id] => 4321 > [name] => domainstats > [title] => Domain Stats > [icon] => /icons/widget/1234.png > [description] => This is an example of Garbages > code by (RAUL BERINA) > [width] => 2 > ) > > [1] => Array > ( > [id] => 41222 > [name] => trafficstat > [title] => Traffic Stats > [icon] => /icons/widget/1234.png > [description] => This is an example of Garbages > code by (RAUL BERINA) > [width] => 2 > ) > > > ) > > I have an array result like above.. > > how can I get the result like only from above array?: > > [0] => Array > ( > [id] => 4321 > [name] => domainstats > [title] => Domain Stats > [icon] => /icons/widget/1234.png > [description] => This is an example of Garbages > code by (RAUL BERINA) > [width] => 2 > ) > > [1] => Array > ( > [id] => 41222 > [name] => trafficstat > [title] => Traffic Stats > [icon] => /icons/widget/1234.png > [description] => This is an example of Garbages > code by (RAUL BERINA) > [width] => 2 > ) > > > > > > > > > > [Non-text portions of this message have been removed] > > > ------------------------------------ > > Are you looking for a PHP job? Join the PHP Professionals directory > Now! > http://www.phpclasses.org/professionals/Yahoo! Groups Links > > > -D. Israel dan@xxxxxxxx http://www.customcodebydan.com AIM: JudoDanIzz [Non-text portions of this message have been removed]