query(a
# Process every second item starting with the first one [0]. foreach ($array as $key => $value) { if (($key - 1) % 2 === 0) { continue; } # Do something here. }