for(int $i=0; $i<count($lists["item_collection"]["entries"]); $i++){
foreach($lists['item_collection']['entries'] as $list)
{
$print['file_name'] = $list[$i]['name'];
$print['file_id'] = $list[$i]['id'];
$print['file_type'] = $list[$i]['type'];
array_push($content,$print);
}
}
i am trying to get the name,type,id of the file array but i only get the first one so i tried to for loop it but it doesn't work. am i doing this right?
yieldkeyword and a generating method.