Greetings,
I'm building a shopping website like your 'coffee' website. I started practicing with the paid website (ex1), which has a config.inc.php file. However, (as far as I understand) the shopping website has a config.php file instead.
I'm following the book in order. I also downloaded your two zip files ecom_scripts_ex1 and _ex2, so I can compare my progress.
On page 181, bottom it is said that "Every PHP script in this site uses view file - separate HTML pages - to display content. [And] Technically, a separate view file should be created for displaying errors, too."
I am not sure which file that is among the files I downloaded. Is that the config.inc.php file with programming content "Error Management"? If so, do I integrate the content into the config.php?
Also, I am assuming, since there is a closing PHP tag in the end, that it should be OK to close the file, as I have been following the instructions to Omit the closings in such.
Your advice is much appreciated.