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 Build a Basic PHP Website (2018) Enhancing a Form Forms and User Input

I think there is a mistake in this quiz about building a PHP Form.

It says " Bummer! Parentheses are used when calling a function" but I selected "(Parentheses)" as the answer!

3 Answers

Andrey Misikhin
Andrey Misikhin
16,529 Points

It is not the mistake. Parentheses are used when calling a function, but $_POST["name"] is a massive of variables and you can get value by index of massive with squre brackets.

Well then their answer about what the correct answer is needs to be updated!

Andrey Misikhin
Andrey Misikhin
16,529 Points

There is no mistake. They just say to you that parentheses, that you are select, uses for functions, not for global massives.