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 PHP Basics Getting to Know PHP PHP Basic Usage

Miguel Nunez
Miguel Nunez
3,266 Points

SO is there any bugs or can we use the php workspace?

I cant even execute my practice experimental php code this is what i been runing in the console php test.php and once I put enter it response like this with this treehouse:~/workspace$ php test.php and this is what i been doing <?php echo "what up";

$a = 5; $b = 10;

var_dump($a * $b); var_dump($a / $b);

?>

but nothing shows up not even in the preview workspace eye button I'm I missing something?

index.php

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

I was able to use the workspace without problems along with the console when doing this course. This is probably going to be easiest to troubleshoot if we can see a snapshot of your workspace.

That being said, there's a challenge linked to this question. Is the question about the challenge or just about your experimental php file? :sparkles:

3 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! Well, from what I can see from your screen shot (which isn't the same thing as a snapshot ) is that you haven't saved your file. That is indicated by the bright orange circle on the tab at the top. You must save the file before running it.

Hope this helps! :sparkles:

Miguel Nunez
Miguel Nunez
3,266 Points

Thank you it seems like it's working now your the best! =)