title: PHP continue statement
body: <p>When reading a PHP book I wanted to try my own (continue) example.
  I made the following code but it doesn't work although everything seems to be ok</p>
  
  <pre><code>$num2 = 1;
  
      while ($num2 &lt; 19)
          {
              if ($num2 == 15) { 
              continue; 
              } else {
              echo "Continue at 15 (".$num2.").&lt;br /&gt;";
              $num2++;
              }
  
          }
  </code></pre>
  
  <p>The output is</p>
  
  <pre><code>Continue at 15 (1).
  Continue at 15 (2).
  Continue at 15 (3).
  Continue at 15 (4).
  Continue at 15 (5).
  Continue at 15 (6).
  Continue at 15 (7).
  Continue at 15 (8).
  Continue at 15 (9).
  Continue at 15 (10).
  Continue at 15 (11).
  Continue at 15 (12).
  Continue at 15 (13).
  Continue at 15 (14).
  
  Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/php/continueandbreak.php on line 20
  </code></pre>
  
  <p>Line 20 is that line</p>
  
  <pre><code>if ($num2 == 15) { 
  </code></pre>
  
  <p>Would you please tell me what's wrong with my example ?
  I am sorry for such a Noob question</p>