I just use a simple IDE (geany) to write my PHP scripts and these days error reporting doesn't even work for me half the time (don't know why, most of the time I just get a blank screen, even when I add code to turn error reporting on) so when something goes wrong, first I'll just eye scan the code and look for syntax errors, then if that fails I start hitting the undo button and reloading the page until the problem goes away, and like that I isolate the problem. This becomes a big problem if I've made loads of changes to the scripts because I have no idea how far I have to go back to isolate the problem.
I'm guessing this is a ridiculous way to do things. I need to learn how to debug and error check. I installed the Firebug + FirePHP plugin for firefox but it doesn't tell me anything. Heres an example. I put in a syntax error (an extra ' inside the echo '' quotes):
so I reload the page and PHP doesn't tell me the problem, I just get a blank screen:
which I don't understand because error reporting is on. It tells me about undefined variables and stuff like that, but it won't tell me about a syntax error? Anyhow, I open up Firebug and see if it tells me the problem:
but as you can see, it tells me nothing. What am I doing wrong?