Utilities
|
|
|
|
<?php function echoTab ($tab, $nest=0){
if (is_array ($tab)){
reset($tab);
while (list($key, $val) = each($tab)){
for ($i=0; $i<$nest; $i++) print " ";
print "<b>$key</b> : $val<br>";
if (is_array ($val)) echoTab ($val, $nest+2);
}
}
}
?>
|
|
|
Usage Example
|
|
|
Rate This Script
|
|
|
|