For statement without all three statements : For : Language Basics PHP Source Code


PHP Source Code » Language Basics » For »

 

For statement without all three statements




<?php
   // Example Three
   $kilometers = 1;
   for (;;) {
      if ($kilometers > 5break;
         echo "$kilometers kilometers = ".$kilometers*0.62140. " miles. <br />";
      $kilometers++;
   }
?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Language Basics
» For