Mon Oct 27, 2008 12:35 pm
<html>
<head>
<title>Using the continue Statement</title>
</head>
<body>
<?php
$counter = -4;
for ( ; $counter <= 10; $counter++ ) {
if ( $counter == 0 ){
continue;
}
$temp = 4000/$counter;
print "4000 divided by $counter is... $temp<br>";
}
?>
</body>
</html>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.