\n"; for($x = 0; $x < $icount; $x++) { if($x==$m){ if($mp[$x]=="Array") { $tmpc = sizeof($up[$x])-1; if(isset($sub)) { echo "\t\t\t\t\t".$up[$x]['name']."\n"; } else { echo "\t\t\t\t\t".$up[$x]['name']."\n"; } for($ux = 1; $ux <= $tmpc; $ux++) { if($ux==$sub) { echo "\t\t\t\t\t".$up[$x][$ux]."\n"; } else { echo "\t\t\t\t\t".$up[$x][$ux]."\n"; } } } else { echo "\t\t\t\t\t".$mp[$x]."\n"; } } else { if($mp[$x]=="Array") { $tmpc = sizeof($up[$x])-1; echo "\t\t\t\t\t".$up[$x]['name']."\n"; } else { echo "\t\t\t\t\t".$mp[$x]."\n"; } } } ?>