php loop through array to find value code example
Example 1: php loop through array
foreach($array as $item=>$values){
echo $values->filepath;
}
Example 2: loop through values of hash php
<?php
while (list($var, $val) = each($array)) {
print "$var is $val\n";
}
?>