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 trialJorge Alcala
4,500 Pointshello my php code do not work, my test.php works ok but the the index.php that I download from you website do not.
//do not displayed on the tab (Shirt 4 Mike) appears <?php echo "Shirts 4 Mike"; ?> on the tab
<title><?php echo "Shirts 4 Mike"; ?></title>
2 Answers
Jorge Alcala
4,500 PointsThanks Ricardo... I find the solution, it was something with the files, they were encrypted so I have to disable decryption. in order to do that I select the files, right-click and went to properties, and under "General" went to "Advanced" and remove the tick that says "Encrypt File Contents". I did this on the css file and the img file, Then I run the file again and everything was fine. http://localhost/
Ricardo Hill-Henry
38,442 PointsRemember, PHP code needs to be within a file with .php extension to run be executed. If this sin't the case, it could possibly be a small markup error somewhere. If it we're your PHP code, the site wouldn't be rendering.