Category: T_VARIABLE

  • PHP: Parse error: syntax error, unexpected T_VARIABLE in…

    Yikes, round kick me in the face because I didn’t realize the cause of following error:Parse error: syntax error, unexpected T_VARIABLE in….If you’ve gotten a similar error be sure to look for one thing first. Your semicolons (;)I was missing a semicolon at the end of the line, one line above the one which PHP was reporting…