<?php $array = [ 0, 3, 1, 3, 5, 6, 7, 8, 6, 3, 1]; $items = count($array); for( $index = 0; $index < $items; $index += 3){ echo $array[$index] ; }
You have javascript disabled. You will not be able to edit any code.