title: php increment numerical value variable by even or odd numbers
body: <p>Im iterating through two lists dumping data into their own single array, but i need to merge the 2 arrays in numerical order into a single array.</p>
  
  <p>Im using a counter (<code>foreach and $i++</code>) to name the keys in the proper order, but both operations leave me with arrays named with numbers 0-10.</p>
  
  <p>How can i make a counter that will increment by only even or only odd numbers so i can merge the two lists after the fact and retain a proper numerical order?</p>
  
  <p>ie, have the first loop name things 0-2-4-6-8-10, and the second loop count 1-3-5-7-9</p>