Okay, I can't seem to get my head around this method.
I have an array:
$array = array(1,2,3,4,5,6,7,8,9,10);
and in a for loop, I want to skip the array every 2 digits so the array would output.
1 , 2 , 5, 6, 9, 10
How would I do this within a for loop?
Thanks in advance!