On 13 May 2010 11:42, shahrzad khorrami <shahrzad.khorrami@xxxxxxxxx> wrote: > > Dear Richard, > we have more than one parentID with value 0 in main array, your > code is so good but show me just the children of first parentID 0. > > :) > > Thanks, > Shahrzad > print_r($Data[0]['children']); maybe. -- ----- Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php