function get_array_elems($arrResult,$where="G"){
while(list($key,$value)=each($arrResult)){
if (is_array($value)){
get_array_elems($value, $where."[$key]");
}else{
for ($i=0; $i<count($value);$i++){
echo $where."[$key]=".$value."<BR>";
}
}
}
}
get_array_elems($_G);
|