When it comes to debugging, what experience teaches you most is the causes of certain types of errors. Knowing this makes fixing the error much, much faster. To shorten the chase, Table 6.3 lists the likely reasons for the most common PHP errors.
|Common PHP Errors|
|Blank Page||HTML problem, or PHP error and display_errors is off.|
|Parse error||Missing semicolon; unbalanced curly braces, parentheses, or quotation marks; or use of an unescaped quotation mark in a string.|
|Empty variable value||Forgot the initial $, misspelled or miscapitalized the variable name, inappropriate variable scope (with functions), ...|