It doesn't look llike you're using a 2D array, but rather slicing into a single dimensional array. Try $array[$i][$j] instead (note the extra brackets).
In reply to Re: 2d array problems
by duff
in thread 2d array problem: unexpected output
by punklrokk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |