loop through multifield array

Hi people

I need a way to loop through an array where $imgid is some random number assigned to each array element and there are 4 fields id, url, tnurl, caption per array element. I need to extract these 4 fields in the same loop iteration. Thanks

[php]
$_SESSION[‘imagegallery’][$imgid][‘id’];
$_SESSION[‘imagegallery’][$imgid][‘url’];
$_SESSION[‘imagegallery’][$imgid][‘tnurl’];
$_SESSION[‘imagegallery’][$imgid][‘caption’];
[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service