ParseError thrown

syntax error, unexpected '$post' (T_VARIABLE)