+ 1
What is foreach? Is it different from for loop
2 Answers
+ 2
Check these (php lesson) :
https://www.sololearn.com/learn/PHP/1826/
https://www.sololearn.com/learn/PHP/1827/
+ 1
yes..for loop has conditions certainly it executes on that condition given..but in foreach there is no condition..it executes many times as much it wants