In this lesson I discuss the use of the foreach loop. The foreach loop is used for arrays in PHP. The loop will run through all the elements of an array and pass them in as a parameter for the code within the loop.
This video is part of a series on PHP Development. This PHP Development series is designed to teach both current and new programmers web development techniques in a step-by-step guided approach. Any images used are part of the Creative Commons License. For more information visit Lecture Snippets at http://lecturesnippets.com.