Teddy D

Generation

translateTue, 31 Jan 2023

$ids = array (); foreach ($push['rows'] as $item) { array_push ($ids, $item['ad_campaign_id']. ','); } only get the numbers

$ids = [] foreach($push['rows'] as $item){ array_push($ids, $item['ad_campaign_id']) }

Questions about programming?Chat with your personal AI assistant