1. 24
    Use an array key to determine current iteration
    1m 26s

Use an array key to determine current iteration

InstructorMark Shust

Share this video with your friends

Send Tweet

One can expand on PHP's foreach loop by using array indexes, which allow you to control the location of PHP elements.