Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php iterate array

foreach($array as $i => $item) {
    echo $array[$i]['filename'];
    echo $array[$i]['filepath'];

    // $array[$i] is same as $item
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #iterate #array
ADD COMMENT
Topic
Name
2+4 =