I'm working on certain PHP-skill-teaser. No background is really needed as error is purely PHP-based. The PasteBin.
I have double do-while in there, however I can't modify variables from within that loop, they simply don't affect the variable anyhow. I have tried a lot of solutions, including those about
global $x, $y, $z; definitons within the scope. Many other solutions on similiar problems went about
foreach() which didn't apply in my situation :|
But to no avail.
Writing Code: 30 minutes.
Bug Fixing: 3 hours.