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 trial

PHP

Mahmud Kurniawan
Mahmud Kurniawan
7,140 Points

i read my code for about an hour but couldn't find where exactly iam wrong on line 73 with red opening curly braces "{"

like the title on "suggest.php", could you find where exactly iam wrong between line 73 with opening curly braces "{" and not connected on line 227 closing curly braces "}"

https://w.trhou.se/x9kax92grm

1 Answer

Hi Mahmud,

I don't think you have any mismatch on your curly braces. The one on 73 is closed with the one on 227.

Workspaces probably doesn't realize this because they are in separate php tags with plain html between them.

If you did have a mismatch of curly braces then you would get a parse error when you visited the suggest page. But your page renders without a parse error.