Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Amber Readmond5,820 Points
The PHP workspace isn't giving me a readout with my hello.php in the first video. I've checked the syntax over and over.
When I push enter to run my code, it just starts a new line in the console with no read out. I named the file hello.php and my syntax is all correct. Am I missing something? My code looks like this: <?php echo 'Hello World'; ?> Then in the console I type: php hello.php I hit return and nothing happens except a blank new console line with nothing at the start of it that's any different than the line above.
Jason Richard1,525 Points
Hey, I had the same problem. You have to click on File and then save the hello.php file before you can run it on the console. She dosen't mention this in the video.
I spent way too long on that! It would be nice if she mentioned it in the video!
Shounda Connell2,237 Points
So, it's 2020 and I just watched the video & telling students to save their work before going to the console still hasn't been added.
Eric Adams2,472 Points
This got me too but luckily I figured it out in just a few minutes, not days. It would be great if a tooltip or something could be put on the page so people don't get hung up on this. Having a small challenge like this with the tools so early could really put people off.
That said, the workspace concept is brilliant! I'm just returning after a hiatus and haven't seen this before. It seems like a really great way to work through the content. It's nice to see Treehouse putting effort into the platform.