how can i fetch array from inside other array using foreach php?
i had an array like that
Array
(
[0] => Array
(
[id] => 3
[programs] => Internet Download Manager
[version] => 6.05
[type] => Internet
[description] => dfsdfdsfdsfds
fds
f
sd
fds
fs
[views] => 100
[serial] => bbbbbb-sssss-dsdffff
yyyy-zzzz-xxxx
)
)
but it could have more than array how can i fetch each one using foreach()
function??
foreach ($array as $item) { foreach($item as $subitem) { //process subitems } }