/********************************************************/
// "Assigned To" Users are arranged as an array $users[]
// ---> need to be converted to a single "String" as the $pdf->ezTable()requires it!
// loop runs on each task-entry
// implode(): combines array-elements with a "," between."

$abc = array();
// If more than 1 user, users are combined to a String value
if ( count($users) > 1 ) {
$abc = implode(",",$users);
$users = $abc; // important not to generate a subarray with [].
}
// Keep only one user, but covert users-array to a "single" array!
else $users = $users[0];