title: Limit results when using PHP explode function
body: <p>I am exploding some information pulled from my database. At the moment it lists all of the 'interests / tags'. Is there a way to limit it to only show 4? and then add a + (remaining amount)</p>
  
  <p>For example : </p>
  
  <pre><code>"Interested in : Cats, Dogs, Monkeys (+5)"
  </code></pre>
  
  <hr>
  
  <pre><code>&lt;?$tags = explode(',', $usr-&gt;interests);
  
   foreach($tags as $tag):
  
   ?&gt;
  
   &lt;? echo "&lt;span&gt;$tag&lt;/span&gt;,";
       endforeach; ?&gt;
  </code></pre>
  
  <p>Thanks in advance,
  Jamie</p>