title: PHP Loop do some once the loop as finished
body: <p>I have this PHP loop, </p>
  
  <pre><code>foreach($returnedContent as $k =&gt; $v) {
      $imageName = str_replace($replaceData, "", $v['contentImageName']);
      echo "&lt;a class='contentLink' href='".base_url()."welcome/getFullContent/$v[contentId]'&gt;";
      echo "&lt;img src='/media/uploads/".strtolower($v['categoryTitle'])."/".$imageName."_thumb.png' alt='$v[contentTitle]' /&gt;";
      echo "&lt;/a&gt;";
  }
  </code></pre>
  
  <p>Once the lopp has finished I was hoping it would be possible to do loop to print x amount of grey boxes is this possible and if so how, basically if the first loop returns 1 item i need the second loop to print out 11 boxes, if the first one returns 9 items I need the second loop to return 3 boxes.</p>
  
  <p>Make sense? Can anyone help me?</p>