Menu
Hello,
Looking at this code in the following url, can anyone tell me if the WHILE loop is needed or not ?
(I am unable to paste the code here as I keep getting this silly error, “You do not have permission to do this”. whenever I try pasting codes. Check the img below).
With or without this WHILE LOOP, I still get the same results. Result outputs are same.
So, why the unnecesary WHILE here ?
I got the code from this tutorial:
It seems, when using the foreach you don’t need the WHILE Loop.
I am talking abut the foreach inside the WHILE Loop.