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 trialBerk Akdemir
911 PointsI have an issue on workspace, it doesn't execute php codes.
i write the exactly same code on the video and it doesn't coloring and executing the code. All codes are yellow in the <?php ?> area
Berk Akdemir
911 Pointsyes, there is no problem on code i tried it on online php controller and it works. Just workspace not working :S
2 Answers
thomascawthorn
22,986 PointsDid you add php to the file name?
*.php
e.g.
my-file.php
Berk Akdemir
911 Pointsomg, thank you Tom and Jeff, i thought that it has already done it by teacher (i just open teacher's workspace)
Jeff Lemay
14,268 PointsJeff Lemay
14,268 PointsIs your php code wrapped in php tags?