I've looked around online for the answer to my problem, but I can't seem to articulate myself well enough.
I have foreach statement, which sometimes outputs a large number of items to parse. However, I only want to grab three at random and parse them. If there are less than three entries, I obviously want them all to show.
Do I use the increment function? Thanks for your help.