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

Error When Cod Runs

It's my very first code in PHP and I keep getting an error.

<?php
echo 'Hello World';
?>

Where did I mess up?

``treehouse:~/workspace$ php hellp.php
Could not open input file: hellp.php
treehouse:~/workspace$

Dave StSomeWhere
Dave StSomeWhere
19,870 Points

what is your file name - is it hello.php? Looks like you typed php hellp.php - The code is good.

3 Answers

Dave StSomeWhere
Dave StSomeWhere
19,870 Points

Haha, here it is - and now you're down to only a bazillion - 1 more typos

what is your file name - is it hello.php? Looks like you typed php hellp.php - The code is good.

Darn it!!! Me and my clumsy fingers. Thanks for the eye!

Write that as an answer Dave. You get Best on this...:-)