why is those if-statement not the same output?
The first loop does the print if the value is >= 1.
The second loop does the next if the value is >= 1.
Or to put the latter a different way:
The second loop doesn't do the print if the value is >=1.
In reply to Re: if statement used in foreach-loop?
by BrowserUk
in thread if statement used in foreach-loop?
by abdel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |