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 Basic PHP Website (2018) Listing and Sorting Inventory Items Displaying All Items

Stanlon Milow
Stanlon Milow
22,385 Points

Just wanted to give a super huge thanks for showing PHP Error Handling with the .htaccess file. Completely paid off

Im following along locally on my computer with my own files and when I was working on this in the morning before work, I got the white screen of death. I went to work and thought about it all day, came home and created a .htaccess file and it showed me immediately where I had forgotten a comma. Below is the error that popped up.

Parse error: syntax error, unexpected '"authors"' (T_CONSTANT_ENCAPSED_STRING), expecting ']' in /Applications/MAMP/htdocs/php_treehouse_website/inc/data.php on line 12

This is awesome to be able to take the knowledge I learned from the last set of videos and use it in a real world situation already. Huge Thanks!