Using the continue Statement : Continue : Language Basics PHP Source Code


PHP Source Code » Language Basics » Continue »

 

Using the continue Statement




<html>
<head>
<title>Using the continue Statement</title>

</head>
<body>
<?php
$counter = -4;
for ; $counter <= 10; $counter++ ) {
    if $counter == ){
        continue;
    }    
    $temp = 4000/$counter;
    print "4000 divided by $counter is... $temp<br>";
}
?>
</body>
</html>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Language Basics
» Continue