A tutorial on for loops . 2nd chapter in a series of posts regarding control statements in php !!
Read this post on webdevfunda.blogspot.com