Error syntax error, unexpected '$ result' (T_VARIABLE)

enter image description hereHello, I hope you can help me by clicking on login I get this error Error syntax error, unexpected '$ result' (T_VARIABLE)
enter image description here