Sorry, somehow that was misformatted. Anyway, there are three for loops, one each for education, skills, and awards. The upper limit of the three for loops is a typo. Instead of looping to count($education[$i]) it should be count($education). The same goes for awards and skills.