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 Build a Simple PHP Application Listing Inventory Items More Excitement With Arrays

No preview...

There has been no preview loading throughout this code challenge.

3 Answers

like Scott said PHP is server side, so it's tough to get it to run in the challenges and almost impossible to make sure it's going to work all the time. I play around with http://writecodeonline.com/php/ sometimes if I want to see immediate results of my scripts, but it's not perfect either.

I wouldn't have though that any PHP code challenges would have a preview. Seeing as though it is a server side language, it would need to be executed by the server and then return to the client. This can have major security issues letting anyone execute PHP on your server.

I may be wrong though. They may allow it.

It's been working fine, just that one code challenge the preview didn't work. Thanks guys.