Print some code from a foreach loop at each predetermined number
<p>My code is looping through some content and outputting some code.</p>

<p>I need to work out a way of telling my code to output some predefined text every X loops. For example:</p>

<blockquote>
  <p>Task: print "code here" on loop item 1
  and every 4 further loops.</p>
</blockquote>

<p>So "code here" will only be outputted on foreach loop item 1, 4, 8, 12</p>
