for($j = $i+1; $j = $num; $j++) {
$j = $num; should be $j == $num;
although I doubt that's what you want, you probably want
$j <= $num;
dunno about the }... Update tried the code for subroutine with fixed code, no error on that }
- Ant
In reply to Re: Please help...not certain why my code does not work.
by suaveant
in thread Please help...not certain why my code does not work.
by Satanya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |