+ 1
questions
Fill in the blanks to print all the numbers from 0 to 15, except for the numbers 10 and 14???? for ($i=0; $i<=15;$i++) { if ($i==10 || $i 14) { ; } echo $i."<br />"; } how can help me in this question?? please
8 Answers
+ 2
for ($i=0; $i<=15;$i++) {
if ($i==10 || $i ==
14) {
continue
;
}
echo $i."<br />";
}
+ 1
for ($i=0; $i<=15;$i++) {
if ($i==10 || $i
14) {
;
}
echo $i++;
}
answer: ++
0
You should use the continue keyword, that will break out of the current iteration of the loop
0
Is this your homework?
0
answer is
==
continue
0
setcookie('logged', 1, time()+ ); what is answer
0
==
continue
0
== and continue