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 trialDaniel 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