push = array ( [0] => Not set, [1] => 5688830, [2] => 5688886, [3] => 5688894, [4] => 5688915, [5] => 5688935, [6] => 5700031, [7] => 5700032, [8] => 5711342, [9] => 5711340, [10] => 5720596, [11] => 5720597, [12] => 5728983, [13] => 5728984, [14] => 5740001, [15] => 5739999, [16] => 5758028, [17] => 5758029, [18] => 5791209, [19] => 5791207, [20] => 5791405, [21] => 5791404, [22] => 5892482, [23] => 5893724, [24] => 5893725, [25] => 5893726, [26] => 5893727, [27] => 5893728, [28] => 5893729, [29] => 5893730, [30] => 5893731, [31] => 5962828, [32] => 5962830, [33] => 5962831, [34] => 5962832, [35] => 5962833, [36] => 5966686, [37] => 5974444, [38] => 5974445, [39] => 5990554, [40] => 6068591, ) ; $push = $result; $push = json_decode($push, true); foreach ($push['rows'] as $item) { echo $item['ad_campaign_id'] . ',';
$push = array( 0 => 'Not set', 1 => '5688830', 2 => '5688886', 3 => '5688894', 4 => '5688915', 5 => '5688935', 6 => '5700031', 7 => '5700032', 8 => '5711342', 9 => '5711340', 10 => '5720596', 11 => '5720597', 12 => '5728983', 13 => '5728984', 14 => '5740001', 15 => '5739999', 16 => '5758028', 17 => '5758029', 18 => '5791209', 19 => '5791207', 20 => '5791405', 21 => '5791404', 22 => '5892482', 23 => '5893724', 24 => '5893725', 25 => '5893726', 26 => '5893727',