in reply to Problem understanding why for loop won't work when foreach is working

Thank you both of you! I'll read more on closure later today but it makes sense when I tried to print \$i instead of $i.

Replies are listed 'Best First'.
Re^2: Problem understanding why for loop won't work when foreach is working
by Athanasius (Archbishop) on Aug 13, 2013 at 16:13 UTC