I have a list of items from a database being parse in an array
Array ( [0] => Array ( [dToken] => 731fea87ea9dc61f16e93f1ad2b96
You're just about there.
$tokens = array(); foreach($result as $device){ $tokens[] = $device['dToken']; } echo implode(',', $tokens);