Let's say I have an array like this: $array = array('object1', 'object2', 'object3', 'object4', '
object5', 'object6', 'object7' ); //and it goes on I know you can find out if a number is odd like this: $odd_nr = $nr % 2 ($odd_nr = 1 => $nr -- odd) But I don't know how to use this in order to select from the array only object1 object3 object5 object7 and so on, and than insert it ...