"; if (is_array($array)){ foreach($array as $key=>$val) { print "".$key.""; if (is_array($array[$key])) { print_r_V2($array[$key]); print ""; } else print $val.""; } print ""; }else print_r($array); } function p($array){ print_r_V2($array); } ?>