this is a part of the array :
Array
(
[0] => Array
(
[account_id] => 104318839768212
[id] => act_104318839768212
[adcampaigns] => Array
(
[data] => Array
(
[0] => Array
(
[id] => 6011516331779
)
[1] => Array
(
[id] => 6011399418379
)
[2] => Array
(
[id] => 6008328196979
)
)
[paging] => Array
(
[cursors] => Array
(
[after] => NjAwODMyODE5Njk3OQ==
[before] => NjAxMTUxNjMzMTc3OQ==
)
)
[count] => 3
[limit] => 100
[offset] => 0
)
)
I am trying to access the ids under adcampaign and list them with a foreach loop I tried this :
<?php foreach($ad_accounts as $ad_act): ?>
<li><a href="#"><input type="radio" name="ad_act" value="<?php echo $ad_act['adcampaigns']['data']['id']; ?>" ><?php echo $ad_act['adcampaigns']['data']['id']; ?></a></li>
<?php endforeach; ?>
it returns white.any help please