PHP Build a Basic PHP Website (2018) Listing and Sorting Inventory Items Displaying All Items

Stanlon Milow
Stanlon Milow
20,575 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!