Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBackston Makuve
951 PointsReplacing the fourth echo statement with foreach loop that prints each letter in the array.
The original code was hard-coded to echo the letters "" instead of the the contents of the $letters array.Replace the fourth echo statement with the foreach loop that prints each letter in the array.
2 Answers
Shane Robinson
7,324 PointsWhat is your question? Also, what challenge is this for - or is this just something you are doing on your own?
Backston Makuve
951 PointsThe original code was hard-coded to echo the letters "" instead of the the contents of the $letters array.Replace the fourth echo statement with the foreach loop that prints each letter in the array. This is PHP arrays
Shane Robinson
7,324 PointsCould you be more specific so I can go to the challenge and check it out? I wasn't able to find anything labeled "PHP arrays". If you tell me the name of the course and which section it is in I should be able to find it from there.