how to iterate a for loop for two times?
your going to have to explain your problem a better than that.
Iam developing a tool in php.In that i want to go for loop for two times to take the different values from the same line.How to iterate for loop twice in same line.
well that made less sense than the first time.
Do you mean this?
for($outer = 0; $outer < 2; $outer++) { for($inner = 0; $inner < $maxLoops; $inner++) { // do something } }