ParseError thrown

syntax error, unexpected '$post_id' (T_VARIABLE), expecting ')'