Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Daniel Bethel
3,284 PointsWeird Syntax Error....
I am using code similar to that of the Shirts 4 Mike 2 example. I have checked my syntax through multiple syntax checkers that find no error. But my MAMP php error_log is telling me that there is an unexpected '.' on line 7 of my code. Can someone please figure out what's wrong?
1 Answer

Daniel Bethel
3,284 PointsFigured it out. Was editing a copy of the file instead of the original. Derp.
Daniel Bethel
3,284 PointsDaniel Bethel
3,284 Points<?php