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 Simple PHP Application Wrapping Up The Project Validating Contact Form Data

Variable error found in PHP video.

I just wanted to let someone know about this error that I found. In this lesson there is a variable called $email. In this particular instance, it is being used in the contact.php file as follows

' ' '

if ($name == "" OR $email == "" OR $message == "") {
echo "You must provide name, email, and message values.";

' ' '

At 5:44, the variable in the video abruptly changes to $email_address.

1 Answer

On questions/ forum posts such as this one, Team Treehouse requests you send them an email about it.

Report a bug

Shoot us an email at [help@teamtreehouse.com](mailto://help@teamtreehouse.com) with a link and a screenshot. If this bug hasn't been reported before, we’ll award you with a special Exterminator badge as a thank you!

Response times from our Support team are fastest from 9am-6pm ET, Monday thru Thursday. Support requests submitted outside those times may receive delayed responses.

Link to Support Page