Understand an MVC framework for writing page-at-a-time web applications.
Instead of having you go through something like laravel, I will have you go through and understand my MVC PHP framework. The bonus of mine is that nothing is hidden, you don't need to read the documentation, you just read the code. My framework does some of what the others do, but in plain sight.
Ok, so what to do?
ini_set('display_errors', 'On');
set in index.php
so you will get error
messages back to the browser. Be careful, when you are done
debugging your application you should comment this line out.
You don't want error messages sent to general users.