title: how to decrement number by 2 for loop in php
body: <p>The following is a simplified version of my code:</p>
  
  <pre><code>for($n10 = 10; $n10 = 1; $n10--2{
      echo $n10;
  };
  </code></pre>
  
  <p>I want the number in the second paragraph to increment by 2 with each loop, e.g.</p>
  
  <pre><code>10, 8, 6, 4
  </code></pre>
  
  <p>Any help would be much appreciated. Thanks!</p>