title: Fill an array using a foreach loop
body: <p>I'm trying to fill an array with my foreach loop, but I don't get it to work. What am I doing wrong?</p>
  
  <pre><code>$a = array();
  
  $activities = Project::getProjectnames($_DB, $projectnaam);
  if(!empty($activities)) {
      foreach($activities as $k =&gt; $v) {
            $a .= array_fill($v['name']);
      }
  }
  </code></pre>
  
  <p>All I get back is the string <code>Array</code>...</p>