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 the error for.

Hope this helps those who run across this error. If there are other causes for getting the unexpected T_VARIABLE error, please let me know!



, ,