Very simple loop question
Why doesnt this code output the number 5??
<html>
<head>
<title>Loops: Continue</title>
</head>
<body>
<?php
for ($count=0; $count <= 10; $count++) {
if ($count==5 ) {
continue;
}
echo $count . " , ";
}
?>
</body>
</html>
View full post on Tycoon Talk
Loop, question, simple, very