$value){
print "key is ".$key."
";
if(is_array($value)){
if (is_array($value)){
foreach($value as $arrkey => $arrval)
{
print "Field ".htmlspecialchars($key)." is "."$arrval
";
}
}
}
else {
print "Field ".htmlspecialchars($key)." is "."$value
";
}
}
?>