How to loop through an array within an array?(php)?

Hank Hill

New member
I have an array called movies.

It has a value called description, which is an array.

How would I loop through this? This is what I have tried, $movies being the movies array obviously:

foreach ($movies[description] as $key => $value) {
print('Key : '.$key.' Value : '.$value.'<br />');
}

It doesn't print anything.
 
Back
Top