Strange Errors Checklist

Heredoc string ( $MyString = <<<_END ) terminating markers The terminating marker must be at the start of a line and also the only thing on the line – no comment or even whitespace after it!!!

Read More

Debugging PHP

Useful debugging things Debugging arrays Display errors Add “display_errors = On” in your PHP configuration file to cause errors to be displayed.  This is a really useful debugging feature and is often the best first step of debuigging to determin why something isn’t working. Turning on in a file Tip: Look for a error_log file […]

Read More