Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php array loop

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

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