ParseError thrown

syntax error, unexpected '$price' (T_VARIABLE)