Closed piotrmacha closed 5 years ago
Thank you for contributing, @piotrmacha
This doesn't fix the issue, unfortunately. You're setting $i to 0 at the beginning of each iteration which means $i can only ever be 1 - this causes an issue with the array building as $i is used as an index.
Yes, you are right. That was stupid mistake caused by lack of focus. I moved the initialization before loop.
Thank you for contributing, @piotrmacha
This doesn't fix the issue, unfortunately. You're setting $i to 0 at the beginning of each iteration which means $i can only ever be 1 - this causes an issue with the array building as $i is used as an index.