PHP Continue

continue is used within looping structures to skip the rest of the current loop iteration and continue execution at the condition evaluation and then the beginning of the next iteration.

<?php
 $array = array('One', 'Two', 'Three', 'Four', 'Five');
 foreach ($array as $item) 
   {
     if ($item == "Three")
      {
         continue; // --- goes back here
      }
     echo "$item<br />";
   }
 ?>

Output:

One
Two
Four
Five