foreach PHP statement
If a list of items is given, then foreach statement will iterate over each element of the array. foreach statement in a loop is useful where number of elements in the array is not hardcoded and can be changed.
If a list of items is given, then foreach statement will iterate over each element of the array. foreach statement in a loop is useful where number of elements in the array is not hardcoded and can be changed.
Comments
Post a Comment