PHP keep first 6 items in an array and drop the rest
<p>I am wondering how I can drop any array items that come after a certain number like 6. Is there something in PHP that enables you do do it? Or is it a custom function that needs to be written</p>
