title: PHP: go back to the start of loop using a sort of 'break'?
body: <p>Hi i have a loop and i was wondering if there was a command that you can jump back to the start of the loop and ignore the rest of the code in the loop </p>
  
  <p>example:</p>
  
  <pre><code>for ($index = 0; $index &lt; 10; $index++) 
  {
      if ($index == 6)
          that command to go the start of the loop
  
      echo "$index, ";
  }
  </code></pre>
  
  <p>should output</p>
  
  <p>1,2,3,4,5,7,8,9
  and skip the six</p>
  
  <p>sort of same result as</p>
  
  <pre><code>for ($index = 0; $index &lt; 10; $index++) 
  {
      if ($index != 6)
          echo "$index, ";
  }
  </code></pre>
  
  <p>is there a command for that?</p>
  
  <p>thanks,
  matthy</p>