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.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator