For statement without second condition : For : Language Basics PHP Source Code


PHP Source Code » Language Basics » For »

 

For statement without second condition




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



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Language Basics
» For