- implode: documentation ( source)
<?php
$authors = array('Johnny', 'Jim', 'Jack');
$data = array();
for ($id=0; $id<10; $id++)
{
$data[$id]['id'] = $id;
$data[$id]['title'] = 'Titel';
$data[$id]['source'] = 'Source';
$data[$id]['year'] = '2013';
$data[$id]['type'] = 'Type';
$data[$id]['authors'] = implode(', ', $authors);
}